wordpress produces invalid blog markup
Bug #125467 reported by
Parker Phinney
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Web Team projects |
Fix Released
|
Medium
|
Unassigned |
Bug Description
if you center something with wordpress's post GUI, it uses the align= attribute, which is invalid. it might create invalid markup for some other positioning options in the post GUI as well.
solution: dive into wordpress's php and patch it to instead use class="centered" and use css to center items of this class (and do the same with other evil positioning invalidnesses). alternately just have php stick the css right on the item, namely: style="
alternate solution: never use wordpress's posting GUI. maybe use a system of bbcode instead? perhaps stick a little html/css reference in the "writing post" page?
To post a comment you must log in.
We could also file bugs upstream on Wordpress's Trac at http:// trac.wordpress. org/ .... or even help them fix the bugs! FC Labs project ;-)