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

Fails on CSS @import with media query #168

Open
calmh opened this issue Jul 29, 2020 · 1 comment
Open

Fails on CSS @import with media query #168

calmh opened this issue Jul 29, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@calmh
Copy link

calmh commented Jul 29, 2020

Hi! Thanks for this tool!

A CSS line like the following:

@import url(dark.css) (prefers-color-scheme: dark);

results in a failure with:

FAIL load _site/css/dark.css) (prefers-color-scheme: dark

that is, it tries to grab everything from the first parenthesis in url( to the last ending parenthesis ). I expect it should only grab the thing inside url(...).

@Munter Munter added the bug Something isn't working label Aug 1, 2020
@Munter
Copy link
Owner

Munter commented Aug 1, 2020

Sounds like our css parser needs an update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants