in my app i have string (for example) :
String s = "log<small><sub>(log<small><sub>(log<small><sub>3<small><sup>2</sup></small></sub></small>(40))</sub></small>(39!))</sub></small>(40!)".
It's a mathematical expression, as you see. And when i do myTextView.setText(Html.fromHtml(s)) text in TextView incorrect displayed (see on logarithm base 3^2):

but in browser this String displayed correct (try it if you want):

WHY?