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
Using your gem, I've noticed some interesting behavior related to CSS parsing.
Sanitize::CSS.stylesheet('@media { p[class="center"] { text-align: center; }}', Sanitize::Config::RELAXED) => "@media { p{} { text-align: center; }}"
For some reason, the [] selector is getting stripped out and replaced with an empty rule.
[]
I did a little digging and can't seem to figure out exactly why this is happening and hoped you could shed some light.
Thoughts?
The text was updated successfully, but these errors were encountered:
Definitely looks like a bug. Will investigate. Thanks for the report!
Sorry, something went wrong.
Sweet! Thank you, sir.
bbb51e6
Fixed in Sanitize 3.0.3, which is available now.
No branches or pull requests
Using your gem, I've noticed some interesting behavior related to CSS parsing.
For some reason, the
[]
selector is getting stripped out and replaced with an empty rule.I did a little digging and can't seem to figure out exactly why this is happening and hoped you could shed some light.
Thoughts?
The text was updated successfully, but these errors were encountered: