• mathiasbynens

    (@mathiasbynens)


    I sometimes embed Flash movies on my blog (for an example see this post). As you can see, I use XHTML valid code to embed those movies (Flash Satay).
    Try posting this code
    <div class="imgdiv"><object type="application/x-shockwave-flash" data="flash.swf?swf=http://www.mathibus.com/blog/stuff/dance" width="320" height="240"><param name="movie" value="flash.swf?swf=http://www.mathibus.com/blog/stuff/dance" /> <img src="stuff/noflash.gif" width="320" height="240" alt="Flash plug-in not detected" /></object></div>
    This is some text.

    This code should work.
    However, when I click the post button, I notice that WordPress eats some of the text under the object tag, and also adds an ending /param tag, which makes all this invalid XHTML, followed by half the text I added 🙂
    I have to manually edit the MySQL database using phpMyAdmin or something if I want the post to display right.
    Is this a bug, or is it just my WordPress 1.0.2 copy?
    Cheers,
    MaThIbUs

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I think I found a bug’ is closed to new replies.