apostrophecms/sanitize-html
Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
4,109
JavaScriptMIT LicenseStars
4,109
Updated
Nov 26, 2025
Stars Over Time
Top Contributors
Related Repositories
Track developers from apostrophecms/sanitize-html
Join 1,000+ companies finding quality developer leads