The parseHTMLUnsafe() static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.
parseHTMLUnsafe()
MDN Reference
The
parseHTMLUnsafe()
static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.MDN Reference