X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/6dfbbcf1e48147f4710583c23372986b9763d17c..696a8536a4d0407116c0d587433b11b80a28a15a:/tools/stripcss diff --git a/tools/stripcss b/tools/stripcss index 4b41f01..69156c4 100755 --- a/tools/stripcss +++ b/tools/stripcss @@ -4,6 +4,7 @@ use warnings; while (<>) { s!\s*/\*.*\*/\Z!!; # comments + s!/\*.*!! .. s!.*?/\*!! and next; # multiline comments s/^\s*//; # indentation and empty lines s/\h+/ /g; # alignment s/:\K\h//; # separators