Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Commit 44581a7

Browse files
kwesterfeld2guybedford
authored andcommitted
Fixes #131, detect URL reference referring to id reference and avoid modification in this case
1 parent 17bb716 commit 44581a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-plugin-base-builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ exports.bundle = function(loads, compileOpts, outputOpts) {
122122
}
123123
}), atUrl({
124124
url: function(fileName, decl, from, dirname, to, options, result) {
125-
if (absUrl(fileName))
125+
if (absUrl(fileName) || fileName.match(/^%23/))
126126
return fileName;
127127

128128
// dirname may be renormalized to cwd

0 commit comments

Comments
 (0)