Skip to content
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

Class attribute with : is incorrectly detected as a pseudo-class #219

Open
AdamWr opened this issue May 20, 2024 · 0 comments
Open

Class attribute with : is incorrectly detected as a pseudo-class #219

AdamWr opened this issue May 20, 2024 · 0 comments
Assignees

Comments

@AdamWr
Copy link
Member

AdamWr commented May 20, 2024

It seems that if there is : inside class name (I'm not sure if it's only about class name, maybe the same happens with other attributes) then filters compiler consider it as a pseudo-class:

! Error: "Unknown pseudo-class ':min-h-' in selector: 'div[class*="md:min-h-[90px] lg:min-h-[250px]"]:has(div[id^="RAD_D_"])'" in the rule: "radio.at,radio.de,radio.dk,radio.es,radio.fr,radio.it,radio.net,radio.pl,radio.pt,radio.se##div[class*="md:min-h-[90px] lg:min-h-[250px]"]:has(div[id^="RAD_D_"])"
radio.at,radio.de,radio.dk,radio.es,radio.fr,radio.it,radio.net,radio.pl,radio.pt,radio.se##div[class*="md:min-h-[90px] lg:min-h-[250px]"]:has(div[id^="RAD_D_"])

https://github.com/AdguardTeam/FiltersRegistry/blob/4e5d379cd96e3a26ba40c1fe072d2b871ad25fad/filters/filter_2_Base/diff.txt#L51-L52

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

3 participants