GitHub repository: mediavine/sanitize-html
Primary language: JavaScript
Description: Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance