Forums / Cotonti / Support / Pre tags are being stripped

Macik
#39499 2014-05-02 16:32
#39495 Hodges:

Hi Macik,

The code <pre class="brush:xml;">TEXT</pre> reduces to <pre>TEXT</pre> whilst <pre class="brush">TEXT</pre> is left unaltered. I still haven't figured this out yet.  I don't understand why this isn't happening on cotonti.com since I'm using HTML Purifier as it ships with Cotonti Siena 0.9.16.

I checked it on my old install (0.9.10) and it worked with default HTML purifier setting. By the way both variants works:  <pre class="brush:xml;"> and <pre class="brush:xml">

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F