in reply to Re: HTML Problem getting entities into a textareain thread HTML Problem getting entities into a textarea
And make sure you escape the & before the < and > otherwise you end up with something along the lines of:
"<" -> "%lt;" -> "<"