[wp-trac] [WordPress Trac] #6461: Generated Gallery markup is
invalid
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 30 06:27:33 GMT 2008
#6461: Generated Gallery markup is invalid
--------------------------+-------------------------------------------------
Reporter: shelleyp | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.7
Component: Optimization | Version: 2.5
Severity: major | Keywords:
--------------------------+-------------------------------------------------
This is related to another item: http://trac.wordpress.org/ticket/6444.
In addition to the extraneous open paragraph, the generated gallery does
not include alt tags (even empty ones), and the BR elements are not
properly terminated. Because of these issues the gallery pages don't
validate, and cause errors if you try to serve the page as XHTML.
I've made a patch, at http://burningbird.net/php/media.phps.
--
Ticket URL: <http://trac.wordpress.org/ticket/6461>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list