annotatedStringFromHtml

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.

JVM stub — returns the raw HTML as plain text (no HTML rendering on Desktop).