Title: [Plugin: WP-Syntax] HTML Code Getting Escaped
Last modified: August 20, 2016

---

# [Plugin: WP-Syntax] HTML Code Getting Escaped

 *  Resolved [randyhoyt](https://wordpress.org/support/users/randyhoyt/)
 * (@randyhoyt)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-html-code-getting-escaped/)
 * I’m inserting two separate blocks of code into my post, one HTML and one CSS.
   The CSS works perfectly. The HTML block looks right in the visual editor in WordPress,
   but when I preview it in the browser the code is getting double-escaped so that
   I see the four characters for the HTML entity (&-g-t-;) instead of seeing a greater-
   than sign. Any thoughts?
 * [http://wordpress.org/extend/plugins/wp-syntax/](http://wordpress.org/extend/plugins/wp-syntax/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [randyhoyt](https://wordpress.org/support/users/randyhoyt/)
 * (@randyhoyt)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-html-code-getting-escaped/#post-3068799)
 * I just discovered the escaped=”true” attribute, which works nicely. The problem
   is that the visual editor removes that attribute. I’ll mark this one as resolved
   and then open a different support ticket for that.
 *  Thread Starter [randyhoyt](https://wordpress.org/support/users/randyhoyt/)
 * (@randyhoyt)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-html-code-getting-escaped/#post-3068932)
 * [removed by original poster]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP-Syntax] HTML Code Getting Escaped’ 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/)

 * 2 replies
 * 1 participant
 * Last reply from: [randyhoyt](https://wordpress.org/support/users/randyhoyt/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-syntax-html-code-getting-escaped/#post-3068932)
 * Status: resolved