Thread:Project:Support desk/Template Param Within Div/reply (5)

It's extension tags where variables don't work, not HTML tags. The reason it doesn't work is  is actually an extension tag (which nowiki's the input before outputting the actual HTML pre tag).

You can use the

Another way is to put an empty HTML comment right after the word pre, which tricks the parser into ignoring it as a extension tag and instead output it at as a normal HTML element, but it's a bit of a hack really.