Open CoderBlue opened 4 years ago
I don't sure about using of do_shortcode
. But if you use the_content();
, then it works well. Maybe it does some other thing. Did this thing work in Crayon?
Same issue here. Does not do that with the original plugin. Was just trying this out, as I am still running my own tweaked version of the Crayon Highlighter.
@portalzine Can you show me your version? Maybe I can grap it. Or you can create a merge request for my version.
@CoderBlue Are you using old tags like [crayon attributes] some code [/crayon]
or you insert your code with tag editor in ui with HTML <pre>
?
@portalzine same question for you too...
When I parse the the_content with Wordpress do_shortcode the shortcode is not parsed properly
For instance if I do this in a template:
I get something like this: