Sanitiser (HTML)
A library that allows a safe subset of HTML tags and strips scripts, used when a feature must display user-supplied HTML.
Learn it hands-on
- XSS: Code Review Medium
A library that allows a safe subset of HTML tags and strips scripts, used when a feature must display user-supplied HTML.