ID:81142
 
Not a bug
BYOND Version:454
Operating System:Windows XP Pro
Web Browser:Firefox 3.5.2
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
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.
Per the skin reference, all text in a given grid or statpanel cell must have the same style.