diff --git a/src/lib/css-parse.html b/src/lib/css-parse.html index d760d7557f..75e82ba21b 100644 --- a/src/lib/css-parse.html +++ b/src/lib/css-parse.html @@ -171,7 +171,8 @@ // helper regexp's _rx: { - comments: /\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim, + // warning, this regex contains load-bearing escapes + comments: /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim, port: /@import[^;]*;/gim, customProp: /(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim, mixinProp: /(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,