I have a dynamic textbox that I pass a variable to and tell to render as html.

Code:
var myTxt = "<i>Q: What happens when I press DONE?</i>\n";
Which gets outputted to the screen as:
What happens when I press DOE?

Not a typo there, it chops off the 'Q:' in the beginning, and leaves the letter 'N' out of the word done. I have all letters and punctuation embedded, so I have no idea what's going on.