[wp-trac] [WordPress Trac] #11044: Garbage data appears in img class

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 28 23:20:30 UTC 2009


#11044: Garbage data appears in img class
--------------------------+-------------------------------------------------
 Reporter:  schwartzman   |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Editor        |     Version:            
 Severity:  major         |    Keywords:            
--------------------------+-------------------------------------------------
 1. I post this in the HTML editor, or just let the visual editor generate
 it:
 {{{
 [caption id="attachment_2801" align="alignright" width="300"
 caption="Photo by Lidal-K."]<img class="size-medium wp-image-2801"
 title="inflambreast_oct_09" src="http://www.wellwire.com/wp-
 content/uploads/2009/10/inflambreast_oct_09-300x250.jpg" alt="Photo by
 Lidal-K." width="300" height="250" />[/caption]
 }}}

 2. I update the post.[[BR]]
 3. I switch to the visual editor, and make no changes.[[BR]]
 4. I switch back to the HTML editor, and this is what I see:
 {{{
 [caption id="attachment_2801" align="alignright" width="300"
 caption="Photo by Lidal-K."]<img class="size-medium wp-image-2801
 cyvbjwiiviooelcuridf cyvbjwiiviooelcuridf" title="inflambreast_oct_09"
 src="http://www.wellwire.com/wp-
 content/uploads/2009/10/inflambreast_oct_09-300x250.jpg" alt="Photo by
 Lidal-K." width="300" height="250" />[/caption]
 }}}

 Note the junk ("cyvbjwiiviooelcuridf") in the img class. Sometimes the
 string repeats three times, sometimes once. But you get the idea.

 This is a live site, so unfortunately turning off all plugins and
 reverting to the default theme is not an option at this time.

 This is my first ticket, so please accept my apologies if it is incomplete
 or poorly submitted.

 Environment:[[BR]]
 OS X 10.4.11, FF 3.5.3, WP 2.8.5

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


More information about the wp-trac mailing list