sanitize-html

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

Tags: html, parser, sanitizer, apostrophecms

Version

Asset Type

  • https://cdnjs.cloudflare.com/ajax/libs/sanitize-html/1.21.1/sanitize-html.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/sanitize-html/1.21.1/sanitize-html-es2015.js
  • https://cdnjs.cloudflare.com/ajax/libs/sanitize-html/1.21.1/sanitize-html-es2015.min.js
  • https://cdnjs.cloudflare.com/ajax/libs/sanitize-html/1.21.1/sanitize-html.js

Library Tutorials

Want to write your own awesome tutorials? Make and submit them today