RawHtml

@Composable
fun RawHtml(htmlString: String)(source)

Generate Compose nodes for general HTML input text.

This is a convenience method for generating compose nodes for raw HTML.

For example, "<div>Hello <i>World</i></div>" will generate:

GenericTag("div") {
Text("Hello ")
GenericTag("i") {
Text("World")
}
}

Important: This method does not sanitize input. Do not use it with untrusted HTML, as it may introduce security vulnerabilities, such as XSS (Cross-Site Scripting).