We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is split out from #249:
Config procesing: We currently throw when an element or global attribute is listed in both allow & remove, but not for per-element attributes.
new Sanitizer({elements: ["p"], removeElements: ["p"]}) // throws new Sanitizer({elements: [{name: "p", attributes: ["id"], removeAttributes: ["id"]}]}) // does not throw.
The text was updated successfully, but these errors were encountered:
otherdaniel
No branches or pull requests
This is split out from #249:
Config procesing: We currently throw when an element or global attribute is listed in both allow & remove, but not for per-element attributes.
The text was updated successfully, but these errors were encountered: