Ticket #5144 (closed defect (bug): worksforme)

Opened 4 years ago

Last modified 3 years ago

Paragraph end-tag wrongly inserted after object tag

Reported by: jameslab6 Owned by: anonymous
Priority: normal Milestone:
Component: General Version: 2.3
Severity: normal Keywords: paragraphs formatting
Cc:

Description

The following code typed into Wordpress:

<div style="text-align: center; margin: auto"> <object type="application/x-shockwave-flash" style="width:425px; height:353px;" data=" http://www.youtube.com/v/u-foWh9dskg"> <param name="movie" value=" http://www.youtube.com/v/u-foWh9dskg" /> </object></div>

is rendered as:

<div style="text-align: center; margin: auto"> <object type="application/x-shockwave-flash" style="width:425px; height:353px;" data=" http://www.youtube.com/v/u-foWh9dskg"></p> <param name="movie" value=" http://www.youtube.com/v/u-foWh9dskg" /> </object></div>

Notice the </p> just before the start of the <param> tag. This renders the XHTML invalid.

Attachments

ParagraphBug.txt Download (817 bytes) - added by jameslab6 4 years ago.

Change History

(I have attached the content of this bug report as a text file just in case the spacing is not preserved by Trac and it turns out to be important).

  • Priority changed from high to normal
  • Status changed from new to closed
  • Resolution set to worksforme
  • Severity changed from major to normal
  • Milestone 2.9 deleted

Worksforme in trunk. (no closing p tag)

Re-open if it can still be reproduced in 2.7.

Note: See TracTickets for help on using tickets.