support for html to text conversion