android - Html.fromHtml does not removes <!-- comments --> -


i parsing html code , put in textview. (webview much, want simple).

the html.fromhtml(mysource) great , working fine. line makes text turn in colors, bold, italic, etc...

unfortunately, has inconvenients, not remove comments.

do have solution other using webview?

enter image description here

remove comments before passing string html.fromhtml(). whether use regular expression or html parser you, though this gentleman has opinion on matter.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -