Skip to content

Commit 42da960

Browse files
committed
Merge pull request reworkcss#6 from rstacruz/patch-2
Consume excess semicolons
2 parents 9a8f1b9 + c846a74 commit 42da960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = function(css){
117117
val = val[0].trim();
118118

119119
// ;
120-
match(/^;\s*/);
120+
match(/^[;\s]*/);
121121

122122
return { property: prop, value: val };
123123
}

0 commit comments

Comments
 (0)