WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-Syntax] Code between < > not preserved in comments

[Plugin: WP-Syntax] Code between < > not preserved in comments

  • msquarci

    @msquarci

    Dear dev(s),

    I need to let users post their source code in comments. In order to use <pre lang=””> in comments, I uncommented the relevant part in wp-syntax/wp-syntax.php, as suggested here and it’s working fine.

    The problem is that all the text between ‘<‘ and ‘>’ is wiped from the post (brackets included). As an example, the following comment:

    x = 3 < 4 or 5 > 2

    is saved as:

    x = 3 2

    Is there a way to fix?

    Thanks for the good work,
    Cheers

    Marco

    http://wordpress.org/extend/plugins/wp-syntax/

  • The topic ‘[Plugin: WP-Syntax] Code between < > not preserved in comments’ is closed to new replies.