[wp-trac] [WordPress Trac] #5144: Paragraph end-tag wrongly
inserted after object tag
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 4 18:00:31 GMT 2007
#5144: Paragraph end-tag wrongly inserted after object tag
-----------------------+----------------------------------------------------
Reporter: jameslab6 | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.5
Component: General | Version: 2.3
Severity: major | Keywords: paragraphs formatting
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://trac.wordpress.org/ticket/5144>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list