[wp-trac] [WordPress Trac] #10734: Gallery Shortcode Causes XHTML Validation Failure

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 6 11:50:38 UTC 2009


#10734: Gallery Shortcode Causes XHTML Validation Failure
--------------------------+-------------------------------------------------
 Reporter:  achmafooma    |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Gallery       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 When placing a gallery in an entry, the gallery shortcode places a style
 tag in the body. This is prohibited under XHTML (style tags must be in the
 head) and causes an XHTML validation failure.

 Any style tags generated by WordPress need to go into the head, not the
 body, so all our sites pass XHTML validation.

 This was mentioned in a few other bugs, but there didn't seem to be a bug
 specifically for dealing with this (at least not that I could find). Sorry
 if it's a dupe :-).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10734>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list