Mubarack Tahir
04/23/2025, 5:16 PM@Composable
fun annotatedString(text: String): AnnotatedString {
return runCatching {
AnnotatedString.fromHtml(text)
}.getOrDefault(AnnotatedString(text))
}
here is an example of the string
"font color='#DDDDDD'bCat/b/font and mouse are bfriends/b who loves uKotlin/u"Andrei Salavei
04/24/2025, 8:13 AM