Skip to content

Commit 017be61

Browse files
committed
Fix parser for urls looking like ruleset selectors (#2376)
1 parent bf36ce3 commit 017be61

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/prelexer.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,11 @@ namespace Sass {
16031603
// class match
16041604
exactly <'.'>,
16051605
// single or double colon
1606-
optional < pseudo_prefix >
1606+
sequence <
1607+
optional < pseudo_prefix >,
1608+
// fix libsass issue 2376
1609+
negate < exactly < url_kwd > >
1610+
>
16071611
>,
16081612
// accept hypens in token
16091613
one_plus < sequence <

0 commit comments

Comments
 (0)