Duplicate Preview doesn't colorize CODE tag

frm

Well-known member
Affected version
2.2
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.webp

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

1596002594912.webp

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

1596002830468.webp
 
Top Bottom