code-syntax-block icon indicating copy to clipboard operation
code-syntax-block copied to clipboard

Special characters aren't rendered correctly

Open dunglas opened this issue 7 years ago • 2 comments

Hi, thanks for this plugin!

It looks like there is a problem double escaping problem for special chars like <.

In the editor:

capture d ecran 2019-01-18 a 11 08 00

Rendered:

capture d ecran 2019-01-18 a 11 07 53

Probably related to #11.

dunglas avatar Jan 18 '19 10:01 dunglas

I'm not able to duplicate this issue or the similar one in #11

Can you confirm? It might be due to an earlier version of Gutenberg. If you update your WordPress to the most recent version (5.2.2) do you still see the issues with special characters?

Thanks

mkaz avatar Jun 25 '19 05:06 mkaz

Hi @mkaz,

Awesome plugin!

I'm getting the same error - only on "<" - specifically React JSX lang:

react-jsx

here is the http://michaelsoriano.com/wordpress-theme-react-part-2-routes-context/

WP is 5.2.2 I just updated the plugin to "Version 1.0.0"

michaelsoriano avatar Jul 07 '19 20:07 michaelsoriano