We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0eb50 commit 832c900Copy full SHA for 832c900
tokenizer.rs
@@ -461,7 +461,11 @@ fn consume_url(tokenizer: &mut Tokenizer) -> ComponentValue {
461
tokenizer.position += 1; // Skip the ( of url(
462
while !tokenizer.is_eof() {
463
match tokenizer.current_char() {
464
- '\t' | '\n' | ' ' => tokenizer.position += 1,
+ ' ' | '\t' => tokenizer.position += 1,
465
+ '\n' => {
466
+ tokenizer.position += 1;
467
+ tokenizer.new_line();
468
+ },
469
'"' => return consume_quoted_url(tokenizer, false),
470
'\'' => return consume_quoted_url(tokenizer, true),
471
')' => { tokenizer.position += 1; break },
0 commit comments