Forums

WP breaking PHP tags (4 posts)

  1. Bruno Augusto
    Member
    Posted 2 years 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 2 years ago #

    runPHP Compatible up to: 2.2.1

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

  3. Bruno Augusto
    Member
    Posted 2 years 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. Bruno Augusto
    Member
    Posted 2 years 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

Topic Closed

This topic has been closed to new replies.

About this Topic