javascript in posts works only in preview (1 post)

  1. bennyStuttgart
    Posted 8 years ago #


    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="http://stuggi-town.de/wp-content/uploads/2007/09/kippen.jpg" 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.

Topic Closed

This topic has been closed to new replies.

About this Topic