File tree 3 files changed +31
-6
lines changed
3 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ function defaultGetLocalIdent(
78
78
function normalizeUrl ( url , isStringValue ) {
79
79
let normalizedUrl = url ;
80
80
81
- if ( isStringValue && / \\ [ \n ] / . test ( normalizedUrl ) ) {
82
- normalizedUrl = normalizedUrl . replace ( / \\ [ \n ] / g, '' ) ;
81
+ if ( isStringValue && / \\ ( \n | \r \n | \r | \f ) / . test ( normalizedUrl ) ) {
82
+ normalizedUrl = normalizedUrl . replace ( / \\ ( \n | \r \n | \r | \f ) / g, '' ) ;
83
83
}
84
84
85
85
if ( matchNativeWin32Path . test ( url ) ) {
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 301
301
background : url ("./img img.png" );
302
302
}
303
303
304
+ /* Comment */
305
+
304
306
.class .class .class {
305
307
background : url ('./img\
308
+ (img.png');
309
+ background: url ('./img\ (img.png');
310
+ background: url ('./img\
306
311
(img.png');
307
312
background: url ('./img\
308
313
\
You can’t perform that action at this time.
0 commit comments