Skip to content

Commit

Permalink
chore: update comment (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored and michael-ciniawsky committed Apr 23, 2017
1 parent a5fdf84 commit 67cae9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processCss.js
Expand Up @@ -102,6 +102,7 @@ var parserPlugin = postcss.plugin("css-loader-parser", function(options) {
break;
case "url":
if (options.url && !/^#/.test(item.url) && loaderUtils.isUrlRequest(item.url, options.root)) {
// Don't remove quotes around url when contain space
if (item.url.indexOf(" ") === -1) {
item.stringType = "";
}
Expand All @@ -110,7 +111,6 @@ var parserPlugin = postcss.plugin("css-loader-parser", function(options) {
var url = item.url;
item.url = "___CSS_LOADER_URL___" + urlItems.length + "___";
urlItems.push({
// Add quotes aroung url when contain space
url: url
});
}
Expand Down

0 comments on commit 67cae9a

Please sign in to comment.