Nice!
Just one little thing: the script does not produce valid html (any version)
The font and bold tags get opened inside the
, but closed outside it (). It's no biggie since anyone that cares probably knows how to fix it, but still I wanted to bring it up. Also you could add some line breaks there for improved readability.But yeah anyway, thanks a bunch, the snippet was a great help to me. :)