Added new function HtmlToText in the web class