Comparing version 0.0.19 to 0.0.20
@@ -5,3 +5,3 @@ { | ||
"description": "Port of YUI CSS Compressor to NodeJS", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "css", |
@@ -98,4 +98,13 @@ /** | ||
if (foundTerminator) { | ||
token = css.substring(startIndex, endIndex); | ||
token = token.replace(/\s+/g, ""); | ||
var parts = token.split(","); | ||
if (parts.length > 1 && parts[0].slice(-7) == ";base64") { | ||
token = token.replace(/\s+/g, ""); | ||
} else { | ||
token = token.replace(/\n/g, " "); | ||
token = token.replace(/\s+/g, " "); | ||
token = token.replace(/(^\s+|\s+$)/g, ""); | ||
} | ||
preservedTokens.push(token); | ||
@@ -102,0 +111,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6400105
146
117214