Title: [Plugin: WP-Syntax] Code between &lt; &gt; not preserved in comments
Last modified: August 20, 2016

---

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

 *  [msquarci](https://wordpress.org/support/users/msquarci/)
 * (@msquarci)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-code-in-comments/)
 * 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](http://wordpress.org/support/topic/plugin-wp-syntax-dont-works-highlighting-code-in-comments-in-0913?replies=6#post-3143345)
   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/](http://wordpress.org/extend/plugins/wp-syntax/)

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

 * ![](https://s.w.org/plugins/geopattern-icon/wp-syntax_f8f6f6.svg)
 * [WP-Syntax](https://wordpress.org/plugins/wp-syntax/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-syntax/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-syntax/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-syntax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-syntax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-syntax/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [msquarci](https://wordpress.org/support/users/msquarci/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-code-in-comments/)
 * Status: not resolved