gitmyhub

sanitize-html

JavaScript ★ 0 updated 6y ago ⑂ fork

Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance

No plain-English explanation yet — one is being written right now. Check back in a minute.