api documentation for sanitize-html (v1.14.1)

Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis

table of contents

  1. module sanitize-html
    1. function sanitize-html (html, options, _recursing)
    2. function sanitize-html.simpleTransform (newTagName, newAttribs, merge)
    3. object sanitize-html.defaults

module sanitize-html

function sanitize-html (html, options, _recursing)

function sanitize-html.simpleTransform (newTagName, newAttribs, merge)

[ this document was created with utility2 ]