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

Invalid CSS output if css has ";" symbol in imported URL #230

Open
Capit0L opened this issue Dec 8, 2020 · 0 comments
Open

Invalid CSS output if css has ";" symbol in imported URL #230

Capit0L opened this issue Dec 8, 2020 · 0 comments

Comments

@Capit0L
Copy link

Capit0L commented Dec 8, 2020

I have Google Fonts on my CSS:

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;1,500&family=Oswald:wght@400;500&family=Rambla:wght@400;700&display=swap');
But output CSS converts it to:

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;

As the result output CSS file is corrupted and the browser is not processing it.

Need to ignore when ";" symbol is using in the string.

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

No branches or pull requests

1 participant