[wp-trac] Re: [WordPress Trac] #6515: Gallery shortcode produces invalid XHTML, in all cases

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 15 20:20:05 GMT 2008


#6515: Gallery shortcode produces invalid XHTML, in all cases
---------------------------------+------------------------------------------
 Reporter:  asiah                |        Owner:  anonymous
     Type:  defect               |       Status:  reopened 
 Priority:  normal               |    Milestone:  2.7      
Component:  General              |      Version:  2.5      
 Severity:  normal               |   Resolution:           
 Keywords:  gallery, style, css  |  
---------------------------------+------------------------------------------
Changes (by TurtleOfDoom):

  * keywords:  => gallery, style, css

Comment:

 Replying to [comment:5 Otto42]:
 > This never got dealt with in #6444, the gallery is *still* producing
 invalid XHTML, everywhere it's being used.
 >
 > STYLE tags are not allowed in the main BODY. They can only be in the
 HEAD.
 >
 > Are there any plans to fix this? The gallery is basically unusable
 because of this sort of thing.

 Agreed, this is a bug that has to be fixed.

 This problem is mentioned in #6618, #6380, and #6927, but it needs a
 separate report of it's own.

 There is a patch attached to #6380 that purports to fix this, but it is an
 ugly solution and that patch won't apply to the current code base. That
 report also doesn't explicitly address this issue.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6515#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list