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

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 31 01:55:47 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        |   Resolution:       
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by miqrogroove):

 I think I have to give up on trying to do this by myself.  I traced the
 caption I/O as far as media_upload_form_handler() where the value of $html
 is

 {{{
 [caption id="attachment_1337" align="aligncenter" width="300"
 caption="Alison Nix - Masculine & Feminine Touch"]<img
 src="http://blogyul.miqrogroove.com/wp-
 content/uploads/2008/12/mangomasculinefeminine2-300x200.jpg" alt="Alison
 Nix - Masculine &#038; Feminine Touch" title="mangomasculinefeminine2"
 width="300" height="200" class="size-medium wp-image-1337" />[/caption]
 }}}

 But this doesn't even match what I see in the editor...

 {{{
 [caption id="attachment_1337" align="aligncenter" width="300"
 caption="Alison Nix - Masculine &amp; Feminine Touch"]<img class="size-
 medium wp-image-1337" title="mangomasculinefeminine2"
 src="http://blogyul.miqrogroove.com/wp-
 content/uploads/2008/12/mangomasculinefeminine2-300x200.jpg" alt="Alison
 Nix - Masculine &amp; Feminine Touch" width="300" height="200"
 />[/caption]
 }}}

 There may be multiple I/O inconsistencies at play here.

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


More information about the wp-trac mailing list