crayon-syntax-highlighter icon indicating copy to clipboard operation
crayon-syntax-highlighter copied to clipboard

Bug with < and > symbols

Open ghost opened this issue 9 years ago • 5 comments

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!

ghost avatar Sep 28 '16 17:09 ghost

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

aramk avatar Oct 29 '16 10:10 aramk

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

luoyetx avatar Jan 06 '17 15:01 luoyetx

Same problem using "WP Markdown Editor" plugin.

vargaLaszlo avatar Jan 27 '17 13:01 vargaLaszlo

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

vargaLaszlo avatar Jan 27 '17 14:01 vargaLaszlo

"Decode HTML entities in code" in setting worked!

pancodia avatar Feb 26 '17 04:02 pancodia