How to use sanitize-html

Comprehensive sanitize-html code examples:

How to use sanitize-html.defaults:

1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
    success: false
  })
}

const cleanHtml = sanitizeHtml(html, {
  allowedTags: sanitizeHtml.defaults.allowedTags.concat([
    'img',
    'ellipse',
    'svg',
    'path',