parseHTMLUnsafe
fun parseHTMLUnsafe(html: TrustedHTML, options: ParseHTMLUnsafeOptions = definedExternally): Document(source)
The parseHTMLUnsafe() static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
fun parseHTMLUnsafe(html: String, options: ParseHTMLUnsafeOptions = definedExternally): Document(source)