Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13680 closed defect (bug) (worksforme)

invalid HTML generated when adding images to a post

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

Description

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
15 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.