This only came up while writing a quick mock-up for something I was making, and I was using a statpanel for easy display of how the data was changing.
Anywho.
The bold, italic, and I'll assume underline tags and whatever else, don't work in the statpanels as they should. When ouputting anything after a bold or italic tag, the tag apparently does nothing. When outputting anything before a bold or italic tag, all of the text is given the affect.
See below.
Code Snippet (if applicable) to Reproduce Problem:
mob
Stat()
stat("abc <b>test</b>") // all of text is bold
stat("<b>test</b> abc") // none of text is bold
stat("abc <i>test</i>") // all of text is italic
stat("<i>test</i> abc") // none of text is italic
HTML support should obviously be turned on.
Expected Results:
It would work properly.
Actual Results:
It doesn't.
Does the problem occur:
Every time? Or how often? Yes.
In other games? Yes.
In other user accounts? Maybe.
On other computers? Probably.