Skip to content

Commit

Permalink
Merge pull request sass#2387 from mgreter/bugfix/issue-2376
Browse files Browse the repository at this point in the history
Fix parser for urls looking like ruleset selectors (sass#2376)
  • Loading branch information
mgreter authored May 20, 2017
2 parents 00966fb + 10398ed commit 3c37c99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/prelexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,11 @@ namespace Sass {
// class match
exactly <'.'>,
// single or double colon
optional < pseudo_prefix >
sequence <
optional < pseudo_prefix >,
// fix libsass issue 2376
negate < exactly < url_kwd > >
>
>,
// accept hypens in token
one_plus < sequence <
Expand Down

0 comments on commit 3c37c99

Please # to comment.