Crayon Syntax Highlighter not working / tags issue
-
Hi,
I have a problem with syntax highlighter in bbpress (plugin). Normaly, after I’ve used Crayon and paste the example code
void loop() { digitalWrite }
it generates in the background (if I switch to text mode)
<pre class="lang:arduino decode:true crayon-selected">void loop() { digitalWrite }</pre>
It works good for admin, but if somebody else (member) try to post a code, the tag
</pre>
disappears, so his code will be not highlighted and in the published post I can see the code and a part of Crayon’s tag like this<pre class="lang:arduino decode:true crayon-selected">void loop() { digitalWrite }
I’ve noticed about restrictions in html-tags etc. but as I can see in formatting.php pre is allowed tag.
What is the problem?
Thanks in advance.
- You must be logged in to reply to this topic.