forked from reworkcss/css
-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
Expected Behaviour
This should be parsed correctly
let demo = cssCompiler.parse(`
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
.test {
background: red;
font-family: 'Zen Kaku Gothic New', sans-serif;
}
`)
console.log('demo', demo)Actual Behaviour
`@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300``
Becomes the first declaration and 400;500;700;900&display=swap')the second.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Run the code above
Platform and Version
4.0.1
Sample Code that illustrates the problem
Look ahead
Logs taken while reproducing problem
N/A
Metadata
Metadata
Assignees
Labels
No labels