Forums

WP breaking PHP tags (4 posts)

  1. Imaggens
    Member
    Posted 3 months ago #

    Hi, this is my first post and I have a tiny and irritant problem.

    In my blog I will (in the future, because it's not ready yet) post PHP codes and the PHP tags (<?php) are being "broken" by WordPress (I guess) or one of various plugins.

    The way of "break" is, after I publish a post, <?php is turned into <? php,with a extra space added inside them.

    I have a screenshot of all my plugins here but I don't know the problematic plugin (if a plugin is the problem)

    So, I'm sory for the English grammar and thank you in advance.

  2. iridiax
    Member
    Posted 3 months ago #

    runPHP Compatible up to: 2.2.1

    Try a newer php plugin: http://wordpress.org/extend/plugins/search.php?q=php

  3. Imaggens
    Member
    Posted 3 months ago #

    I tried. I change my choice to PHP Exec.

    I try to disable the Syntax Highlight plugin too, but still adding the extra space.

  4. Imaggens
    Member
    Posted 3 months ago #

    Well, I know I already post but I can't see an edit button and/or feature.

    The problem was solved uncheking the option, in Write Settings, that allow WP to fix incorrect XHTML tags

Reply

You must log in to post.

About this Topic