Duplicate Preview doesn't colorize CODE tag

Affected version
2.2

frm

Well-known member
The [CODE] tag doesn't properly colorize the code being inserted upon preview.

This is the HTML option for CODE on preview:
HTML:
<blockquote class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote">
<div class="bbCodeBlock-content">
<div class="bbCodeBlock-expandContent ">{text}

</div>
<div class="bbCodeBlock-expandLink"><a>Click to expand...</a></div>
</div>
</blockquote>

1596002511022.png

This is it after posting (if you have a solution for this code above as a custom BB code, please check this thread):

1596002594912.png

Doesn't effect 2.1 as the preview button loads it into a separate preview area and it colorizes just fine.

1596002830468.png
 
Top