XF 2.2 formated code in pop-up Vs in post

Nicolas FR

Well-known member
Hello,

When you type code in the coding pop-up the code is well colored, for example with CSS

Capture d’écran 2020-12-21 125605.webp

But when it is displayed in post there is still not

Capture d’écran 2020-12-21 130509.webp

Is it a bug or it is designed like that ?
It will be useful to get the code well colored in post too !

Thanks.
 
The syntax highlighting systems used by the code editor is quite different than the one we use for embedded content. You can actually see that there is higlighting, it's just different.

This is essentialy expected.
 
Top Bottom