annotatedStringFromHtml
actual fun annotatedStringFromHtml(html: String, linkStyles: TextLinkStyles?): AnnotatedString(source)
Parses HTML into an AnnotatedString with platform-appropriate rendering.
expect fun annotatedStringFromHtml(html: String, linkStyles: TextLinkStyles? = null): AnnotatedString(source)
Parses HTML into an AnnotatedString with platform-appropriate rendering.
actual fun annotatedStringFromHtml(html: String, linkStyles: TextLinkStyles?): AnnotatedString(source)
JVM stub — returns the raw HTML as plain text (no HTML rendering on Desktop).