annotatedStringFromHtml

expect fun annotatedStringFromHtml(html: String, linkStyles: ERROR CLASS: Symbol not found for TextLinkStyles?? = null): ERROR CLASS: Symbol not found for 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).