Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#13680 closed defect (bug) (worksforme)

invalid HTML generated when adding images to a post

Reported by: efikim Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Formatting Keywords: HTML validity, image handling
Focuses: Cc:


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

Change History (1)

#1 @nacin
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Closing as worksforme based on the TinyMCE update. Please try out 3.1-alpha. Re-open with steps to reproduce.

Note: See TracTickets for help on using tickets.