I have a problem with Html.fromHtml which interprets "<" as a start tag and not as a "greater than" sign.
Is there a way to escape the "<" sign so it is displayed ?
Ex :
Html.fromHtml("<b>Test</b> : 10", Html.FROM_HTML_MODE_LEGACY)
Gives Test : 10
Html.fromHtml("<b>Test</b> : >10", Html.FROM_HTML_MODE_LEGACY)
Gives Test : >10
but
Html.fromHtml("<b>Test</b> : <10", Html.FROM_HTML_MODE_LEGACY)
Gives Test :
<
instead of<
– Drolet