postcss-url
Advanced tools
Comparing version 7.1.1 to 7.1.2
@@ -1,3 +0,7 @@ | ||
# 7.1.0 - 2017-07-24 | ||
# 7.1.2 - 2017-08-11 | ||
Fixed: wrap url by quotes for inlined svg ([#78](https://github.com/postcss/postcss-url/issues/78)) | ||
# 7.1.1 - 2017-07-24 | ||
Fixed: force wrap url by quotes for `optimizeSvgEncode` ([#105](https://github.com/postcss/postcss-url/issues/105)) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "postcss-url", | ||
"version": "7.1.1", | ||
"version": "7.1.2", | ||
"description": "PostCSS plugin to rebase or inline on url().", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -85,4 +85,4 @@ 'use strict'; | ||
// wrap url by quotes if optimized svg | ||
return optimizeSvgEncode ? `"${resultValue}"` : resultValue; | ||
// wrap url by quotes if percent-encoded svg | ||
return isSvg && encodeType !== 'base64' ? `"${resultValue}"` : resultValue; | ||
}; |
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
35832