I have a spannable string containing bold italics and underlined text ( it may contain more formatted text ) For Example : - abcdef dfdfdfdf dfgdfgfdgf dfgfdgdfgfdfgd
I want to convert this string into html formatted text such that, my final output contains tags such that the above string should become
abcdef dfdfdfdf dfgdfgfdgf dfgfdgdfgfdfgd
TextUtils.htmlEncode
is not working. Real World Scenario - You view a webpage and when you view its source it contains tags. Similar thing i want here