-
Notifications
You must be signed in to change notification settings - Fork 93
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
Support for @media
rule
#552
Comments
jonah1und1
added a commit
to jonah1und1/antisamy
that referenced
this issue
Feb 4, 2025
jonah1und1
added a commit
to jonah1und1/antisamy
that referenced
this issue
Feb 4, 2025
jonah1und1
added a commit
to jonah1und1/antisamy
that referenced
this issue
Feb 4, 2025
@spassarop - Can you look into this and the PR he submitted? |
jonah1und1
added a commit
to jonah1und1/antisamy
that referenced
this issue
Feb 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Antisamy seems to not properly support the
@media
rule.Expected behaviour
css inside a
@media
rule should the validated in accordance to the policy provided.Current behaviour
Antisamy removes the
@media
rule and everything inside of it.I've created an example project with a corresponding test:
https://github.com/jonah1und1/antisamy-media
Possible implementation
I've created a PR with a possible implementation for this new feature: #553 .
Please feel free to review and/or comment.
The text was updated successfully, but these errors were encountered: