[wp-trac] [WordPress Trac] #8763: Unescaped CDATA in [gallery] Output

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 30 22:32:37 GMT 2008

#8763: Unescaped CDATA in [gallery] Output
 Reporter:  miqrogroove   |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.7.1
Component:  Gallery       |     Version:  2.7  
 Severity:  normal        |    Keywords:       
 This is easiest to describe by example.  Follow the permalink...


 ... to a post that contains the phrase "Masculine & Feminine" in an
 attached image caption.  The image appears twice: Once as a Full Size
 image, and once in the image gallery.

 In the Full Size image, the "&" has been escaped to "&" in both the
 alt text string and the div CDATA.

 In the gallery, the div CDATA are not escaped and the raw "&" appears.
 The alt text string is missing (#8732) but should also be escaped.

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

More information about the wp-trac mailing list