setUncheckedInnerHtml function
Set inner html with an empty tree sanitizer
Implementation
void setUncheckedInnerHtml(Element element, String html,
{bool encode = false}) {
if (encode) html = XmlUtil.encodeNS(html);
element.setInnerHtml(html, treeSanitizer: NodeTreeSanitizer.trusted);
}