frm
Well-known member
- Affected version
- 2.2
The
This is the HTML option for CODE on preview:
![1596002511022.webp 1596002511022.webp](https://xenforo.com/community/data/attachments/231/231185-33d85e481ded3d5fa3a38d517f935aa9.jpg?hash=M9heSB3tPV)
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 1596002594912.webp](https://xenforo.com/community/data/attachments/231/231186-0acf5b306ab633a3d7f7cb0ded5f1753.jpg?hash=Cs9bMGq2M6)
Doesn't effect 2.1 as the preview button loads it into a separate preview area and it colorizes just fine.
![1596002830468.webp 1596002830468.webp](https://xenforo.com/community/data/attachments/231/231187-b3aea5f57dda264304bf5d6ce16c5f33.jpg?hash=s66l9X3aJk)
[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 1596002511022.webp](https://xenforo.com/community/data/attachments/231/231185-33d85e481ded3d5fa3a38d517f935aa9.jpg?hash=M9heSB3tPV)
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 1596002594912.webp](https://xenforo.com/community/data/attachments/231/231186-0acf5b306ab633a3d7f7cb0ded5f1753.jpg?hash=Cs9bMGq2M6)
Doesn't effect 2.1 as the preview button loads it into a separate preview area and it colorizes just fine.
![1596002830468.webp 1596002830468.webp](https://xenforo.com/community/data/attachments/231/231187-b3aea5f57dda264304bf5d6ce16c5f33.jpg?hash=s66l9X3aJk)