diff --git a/parse-css.js b/parse-css.js index b3d67b0..f2176b4 100644 --- a/parse-css.js +++ b/parse-css.js @@ -732,7 +732,7 @@ class DimensionToken extends CSSParserToken { this.sign = sign; } toString() { - return `DIM(${formatNumber(this.value, this.sign)}, ${JSON.stringify(this.unit)})`; + return `DIM(${formatNumber(this.value, this.sign)},${JSON.stringify(this.unit)})`; } toJSON() { return {type:this.type, value:this.value, isInteger:this.isInteger, unit:this.unit, sign:this.sign}; } toSource() {