thes reason you can see the tags is because you have to define the textfield as html when loading stuff so

myText.text = ksmContent;

would become

myText.htmlText = ksmContent;