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

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -