Flatten whitespace in media query

This commit is contained in:
ConnorSkees 2020-02-22 12:56:23 -05:00
parent d1d636fa17
commit 8c227290a0

View File

@ -106,6 +106,11 @@ impl AtRule {
continue; continue;
} }
TokenKind::Variable(..) => params.push('$'), TokenKind::Variable(..) => params.push('$'),
TokenKind::Whitespace(..) => {
devour_whitespace(toks);
params.push(' ');
continue;
}
_ => {} _ => {}
} }
params.push_str(&tok.kind.to_string()); params.push_str(&tok.kind.to_string());