Skip to content

Commit f8d9f27

Browse files
committed
Add hotfix for url issue with single variable
Fixes #1087
1 parent c4fb559 commit f8d9f27

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

prelexer.cpp

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,16 @@ namespace Sass {
426426
const char* uri_value(const char* src)
427427
{
428428
return
429-
zero_plus <
430-
alternatives <
431-
alnum,
432-
exactly <'/'>,
433-
class_char < uri_chars >
429+
sequence <
430+
negate <
431+
exactly < '$' >
432+
>,
433+
zero_plus <
434+
alternatives <
435+
alnum,
436+
exactly <'/'>,
437+
class_char < uri_chars >
438+
>
434439
>
435440
>(src);
436441
}

0 commit comments

Comments
 (0)