I think I’ve got a real honest bug here.
My pages were no longer validating for XHTML when they had been before, so I did some investigating and discovered the problem.
First off, here’s a sample page:
Second, here’s the code that I’m entering for the embedded flash movie into the editor (using the quicktags not WYSIWYG editor):
<p class="center"><object type="application/x-shockwave-flash" style="width:425px; height:350px" data="http://www.youtube.com/v/T2Bsu4z9Y3k"><param name="movie" value="http://www.youtube.com/v/T2Bsu4z9Y3k"></param></object>
Third, here’s why the validation error occurs. WordPress is leaving off the trailing `
tag when it spits this block out. Here's the code.
<object type=”application/x-shockwave-flash” style=”width:425px; height:350px” data=”http://www.youtube.com/v/T2Bsu4z9Y3k”>
<param name=”movie” value=”http://www.youtube.com/v/T2Bsu4z9Y3k”></param>
If I change the
<div>tags, then it doesn’t chop anything off and the page validates…
And just to mention it, I did turn off the option “WordPress should correct invalidly nested XHTML automatically” in case that was somehow related. It made no difference.
Is this the right place to submit a bug like this? Anyone else experienced anything similar? Anything else I should know?
- The topic ‘I’m quite certain I’ve found a bug with WordPress’s processing of input’ is closed to new replies.