invalid HTML generated when adding images to a post
|Reported by:||efikim||Owned by:|
|Component:||Formatting||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