aramk / crayon-syntax-highlighter

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
https://wordpress.org/plugins/crayon-syntax-highlighter/
GNU General Public License v3.0
1.1k stars 248 forks source link

Bug with < and > symbols #383

Open ghost opened 8 years ago

ghost commented 8 years ago

If I use > or < in my shell scripts, the Crayon prints &lt; and &gt;

It is a really annoying bug.

Can you solve this, please? I'm using the latest version of the WP Plugin.

By the way, GREAT plugin!

aramk commented 7 years ago

Hi there, this should not happen if you type into the visual editor. How are you entering the code into the post?

luoyetx commented 7 years ago

@aramk I meet the same problem while using Markdown supported by Jetpack plugin

vargaLaszlo commented 7 years ago

Same problem using "WP Markdown Editor" plugin.

vargaLaszlo commented 7 years ago

"Decode HTML entities in code" option in settings solved this for me!

pancodia commented 7 years ago

"Decode HTML entities in code" in setting worked!