Skip to content

Sanitizer does not support CSS properties #230

New issue

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

Open
lingzlu opened this issue Nov 10, 2022 · 1 comment
Open

Sanitizer does not support CSS properties #230

lingzlu opened this issue Nov 10, 2022 · 1 comment

Comments

@lingzlu
Copy link

lingzlu commented Nov 10, 2022

Whitelist class only supports tags and attributes, but not CSS style like other HTML sanitizer library for web, e.g DOMPurify, HtmlSanitizer. Is it possible to add this functionality?

@aehlke
Copy link
Collaborator

aehlke commented Feb 28, 2025

Please submit a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants