Even if <pre> tag encloses a preformatted text, HTML supports formatting of the block as explained here https://www.sitepoint.com/everything-need-know-html-pre-element/#using-nested-html-elements .
For instance, the following code:
<pre> This is preformatted text. It should be <span style="color:red;">further formattable</span> </pre>
should produce a block of text with the last part in color red.
This works if you try it on CodePen or similar website, but produces this output in MediaWiki:
This is preformatted text. It should be <span style="color:red;">further formattable</span>
So the color is ignored.
Why this happens? And anyone knows how to workaround it?
Thanks