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
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:
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
gets split into the following declarations, eating a chunk of the
contentvalue: