sanitize-html v2.5.0 Release Notes

Release Date: 2021-09-08 // 3 months 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 the allowedScriptHostnames contribution.
    • ⚡️ Updates whitelist to allowlist.