sanitize-html
JavaScriptpushed almost 2 years ago
Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
AI summary
HTML sanitizer
A JavaScript library for cleaning up and sanitizing user-submitted HTML, removing unwanted content while preserving whitelisted elements and attributes.
- stars
- 3.9K
- forks
- 353
- watching
- 36
- awesome list
- 1
Featured in 1 awesome list
Each link jumps to the spot where the list mentions sanitize-html.