You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good catch 👍 Agree, a newline must not be a part of bad-string-token. It's a bit tricky to fix it, since serialisation is affected as well. However, I almost done with it, but need to test better.
csstree/lib/tokenizer/index.js
Line 130 in 4d55558
That code appears to advance the offset.
It should only return a bad string token and make sure that the next tokenizing pass handles the newline.
https://www.w3.org/TR/css-syntax-3/#consume-string-token
Example :
The text was updated successfully, but these errors were encountered: