createUncheckedHtml function
Creates an element with an empty tree sanitizer.
Implementation
Element createUncheckedHtml(String html, {bool encode = false}) {
if (encode) html = XmlUtil.encodeNS(html);
return Element.html(html, treeSanitizer: NodeTreeSanitizer.trusted);
}