[wp-trac] [WordPress Trac] #13680: invalid HTML generated when adding images to a post

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 1 17:49:29 UTC 2010


#13680: invalid HTML generated when adding images to a post
--------------------------+-------------------------------------------------
 Reporter:  efikim        |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  Unassigned                   
Component:  Formatting    |     Version:                               
 Severity:  normal        |    Keywords:  HTML validity, image handling
--------------------------+-------------------------------------------------
 Using Wordpress 3.0 RC1
 When create a post using the inbuilt editor, and include an image using
 the tool for that purpose, and save the post, the resulting HTML is
 invalid.
 The post content as a whole is wrapped in a <p> </p> element, and inside
 this is placed the image, which has as its outer wrapper a <div> </div>
 element, which is invalid in both HTML and xhtml

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


More information about the wp-trac mailing list