diff --git a/src/atrule.rs b/src/atrule.rs index 1b45366..12beaac 100644 --- a/src/atrule.rs +++ b/src/atrule.rs @@ -106,6 +106,11 @@ impl AtRule { continue; } TokenKind::Variable(..) => params.push('$'), + TokenKind::Whitespace(..) => { + devour_whitespace(toks); + params.push(' '); + continue; + } _ => {} } params.push_str(&tok.kind.to_string());