sanitize-html v2.5.0 Release Notes
Release Date: 2021-09-08 // over 2 years ago-
- 🆕 New
allowedScriptHostnames
option, it enables you to specify which hostnames are allowed in a script tag. - 🆕 New
allowedScriptDomains
option, it enables you to specify which domains are allowed in a script tag. Thank you to Yorick Girard for this and theallowedScriptHostnames
contribution. - ⚡️ Updates whitelist to allowlist.
- 🆕 New