• benlong

    (@benlong)


    I recently upgraded from 1.2 to 2.0 and am having a problem. I’m using a plug-in that allows me to include PHP in my posts, and that’s all working fine. I’m using the PHP to execute an Include command which inserts an HTML file that places a google ad on the page. The inserted HTML file is mostly Javascript, and under 1.2 this all worked fine.

    Under 2.0, though, WordPress is inserting a
    at the end of every line of javascript. Is there something I can do to fix this? I have already unchecked “WordPress should correct invalidly nested XHTML” in the Writing Options control panel, but to no avail.

    Or, is there a better way for me to be doing this?

  • The topic ‘Trouble with javascript in a post’ is closed to new replies.