mirror of
https://github.com/less/less.js.git
synced 2026-01-24 14:48:00 -05:00
Allow escaped charcaters in less filename url. Fixes #982
This commit is contained in:
@@ -163,7 +163,7 @@ function loadStyleSheet(sheet, callback, reload, remaining) {
|
||||
contents[href] = data; // Updating top importing parser content cache
|
||||
new(less.Parser)({
|
||||
optimization: less.optimization,
|
||||
paths: [href.replace(/[\w\.-]+$/, '')],
|
||||
paths: [href.replace(/[\w\.%-]+$/, '')],
|
||||
mime: sheet.type,
|
||||
filename: href,
|
||||
'contents': contents, // Passing top importing parser content cache ref down.
|
||||
|
||||
Reference in New Issue
Block a user