Skip to content

Commit

Permalink
Fix parser for urls looking like ruleset selectors (sass#2376)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed May 20, 2017
1 parent 77cdab7 commit 10398ed
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 10398ed

Please # to comment.