getting non-html version of text