sanitize-html
Advanced tools
Comparing version 1.21.0 to 1.21.1
## Changelog | ||
1.21.1: fixed issue with bad `main` setting in package.json that broke 1.21.0. | ||
1.21.0: new `disallowedTagsMode` option can be set to `escape` to escape disallowed tags rather than discarding them. Any subtags are handled as usual. If you want to recursively escape them too, you can set `disallowedTagsMode` to `recursiveEscape`. Thanks to Yehonatan Zecharia for this contribution. | ||
@@ -4,0 +6,0 @@ |
{ | ||
"name": "sanitize-html", | ||
"version": "1.21.0", | ||
"version": "1.21.1", | ||
"description": "Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis", | ||
"main": "dist/index.js", | ||
"main": "dist/sanitize-html.js", | ||
"files": [ | ||
@@ -7,0 +7,0 @@ "dist/" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1735202
30