Skip to content

Commit 67cae9a

Browse files
evilebottnawimichael-ciniawsky
authored andcommitted
chore: update comment (#515)
1 parent a5fdf84 commit 67cae9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/processCss.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ var parserPlugin = postcss.plugin("css-loader-parser", function(options) {
102102
break;
103103
case "url":
104104
if (options.url && !/^#/.test(item.url) && loaderUtils.isUrlRequest(item.url, options.root)) {
105+
// Don't remove quotes around url when contain space
105106
if (item.url.indexOf(" ") === -1) {
106107
item.stringType = "";
107108
}
@@ -110,7 +111,6 @@ var parserPlugin = postcss.plugin("css-loader-parser", function(options) {
110111
var url = item.url;
111112
item.url = "___CSS_LOADER_URL___" + urlItems.length + "___";
112113
urlItems.push({
113-
// Add quotes aroung url when contain space
114114
url: url
115115
});
116116
}

0 commit comments

Comments
 (0)