Helper method for getting plain text from html.