Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
Tags: sanitization, xss, sanitize, sanitisation, input, security, escape, encode, filter, validator, html, injection, whitelist
Want to write your own awesome tutorials?
Make and submit them today
No tutorials found, want to write one?
Help support cdnjs
You can contribute on
GitHub to help make cdnjs sustainable!
Or, donate $5 to cdnjs via
Open Collective or Patreon.