Subclass of HtmlSpanner ( https://github.com/NightWhistler/HtmlSpanner ) to add toHtml() functionality