I'd suggest using
on your text = ""; line. NL means Next Line.
It would look something like this:
PHP Code:
text = "hi" NL "<b><u><font color=000000>black font that's bold and underlined!</font></u></b>" NL "weee";
Not sure if I'm right, but just doing enter's won't create new lines. If it does, then cool, you can keep doing it that way and ignore what I said

I guess it's personal preference, though. It just might free up some space in that script.