Ticket #5144 (new defect)

Opened 9 months ago

Last modified 9 months ago

Paragraph end-tag wrongly inserted after object tag

Reported by: jameslab6 Assigned to: anonymous
Priority: high Milestone: 2.6
Component: General Version: 2.3
Severity: major 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 (0.8 kB) - added by jameslab6 on 10/04/07 18:00:42.

Change History

10/04/07 18:00:42 changed by jameslab6

  • attachment ParagraphBug.txt added.

10/04/07 18:03:15 changed by jameslab6

(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).