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
{{ message }}
Repository navigation
Strings containing semicolons are split by parse_declarations! #178
parse_declarations! splits blocks on semicolons unless the the semicolon appears inside parentheses. Because there's no equivalent exception for quotation marks, strings containing semicolons get split. This means we lose any text after the semicolon.
For example, this CSS
.test-1{display: grid;content:"I came; I saw; I conquered.";}
gets split into the following declarations, eating a chunk of the content value:
very similar to #177 ... and same solution that possibly only a full parser could solve that
but PR welcome if you find a workaround maybe with some special logic for content, but could be tricky since the ; splitting is pretty early I think
Activity
grosser commentedon Oct 18, 2025
very similar to #177 ... and same solution that possibly only a full parser could solve that
but PR welcome if you find a workaround maybe with some special logic for
content, but could be tricky since the ; splitting is pretty early I think