File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1297,7 +1297,7 @@ class Stylesheet extends CSSParserRule {
1297
1297
}
1298
1298
}
1299
1299
toSource ( ) {
1300
- return this . rules . map ( x => x . toSource ( { indent : 0 } ) ) . join ( "\n" ) ;
1300
+ return this . rules . map ( x => x . toSource ( ) ) . join ( "\n" ) ;
1301
1301
}
1302
1302
}
1303
1303
@@ -1321,7 +1321,7 @@ class AtRule extends CSSParserRule {
1321
1321
}
1322
1322
toSource ( indent = 0 ) {
1323
1323
let s = printIndent ( indent ) + "@" + escapeIdent ( this . name ) ;
1324
- s += this . prelude . map ( x => x . toSource ( ) ) ;
1324
+ s += this . prelude . map ( x => x . toSource ( ) ) . join ( "" ) ;
1325
1325
if ( this . declarations == null ) {
1326
1326
s += ";\n" ;
1327
1327
return s ;
@@ -1356,7 +1356,7 @@ class QualifiedRule extends CSSParserRule {
1356
1356
}
1357
1357
toSource ( indent = 0 ) {
1358
1358
let s = printIndent ( indent ) ;
1359
- s += this . prelude . map ( x => x . toSource ( ) ) ;
1359
+ s += this . prelude . map ( x => x . toSource ( ) ) . join ( "" ) ;
1360
1360
if ( this . declarations == null ) {
1361
1361
s += ";\n" ;
1362
1362
return s ;
@@ -1393,7 +1393,7 @@ class Declaration extends CSSParserRule {
1393
1393
let s = printIndent ( indent ) + escapeIdent ( this . name ) + ": " ;
1394
1394
s += this . value . map ( x => x . toSource ( ) ) . join ( "" ) ;
1395
1395
if ( this . important ) {
1396
- s += " !important" ;
1396
+ s += "!important" ;
1397
1397
}
1398
1398
s += ";" ;
1399
1399
return s ;
You can’t perform that action at this time.
0 commit comments