I've got encoded html where even tags are encoded into html entities
Some <b> bold </b> text
I'd like to display this as a spanned string in TextView
, however the only way to do it is using Html.fromHtml()
twice
val decoded = Html.fromHtml("").toString() // Some <b>bold</b> text
val spanned = Html.fromHtml(decoded)
Is there cleaner way to do this?