Support » Fixing WordPress » javascript in posts works only in preview

  • hi,

    I’m using wordpress version 2.221. When i’m typing in @ a post:

    <script type="text/javascript" src="flashplayer.php?width=640&height=480&title=Blaaaaa&url=ramps.swf"></script><br><br> <a onclick="openDialog1();"><img src="" alt="" />
    zum spielen hier klicken</a>

    it changes the & in the flashplayer.php title to & # 0 3 8 ;(i had to put spaces in to make it visible).

    the funny thing: it works in the preview and in the listing of the posts in the index.php. Just when I publish it, it won’t work because wordpress rewrites the &.

    do you know, how I can fix this? I tried all options of the Text Control Plugin, but no improvements.

  • The topic ‘javascript in posts works only in preview’ is closed to new replies.