code: function sanitizeElement(element, config) {
    var sanitizer = new Sanitize(config);
    var cleaned = document.implementation.createHTMLDocument('sanitizerdoc').body;
  
    cleaned.appendChild(sanitizer.clean_node(element));
    return cleaned.innerHTML;
  }
docs: /* global Sanitize