Skip to content

Commit

Permalink
Use uri_prefix to detect urls (includes fn opener)
Browse files Browse the repository at this point in the history
Fixes #2429
  • Loading branch information
mgreter authored and xzyfer committed Jul 3, 2017
1 parent f409fa9 commit ffdcfd8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/prelexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,7 @@ namespace Sass {
>,
sequence <
negate <
sequence <
exactly < url_kwd >,
exactly <'('>
>
uri_prefix
>,
neg_class_char <
almost_any_value_class
Expand Down Expand Up @@ -1611,7 +1608,7 @@ namespace Sass {
sequence <
optional < pseudo_prefix >,
// fix libsass issue 2376
negate < exactly < url_kwd > >
negate < uri_prefix >
>
>,
// accept hypens in token
Expand Down

0 comments on commit ffdcfd8

Please sign in to comment.