From 10398ed299bffa7ccc32aace50dacbe1a51379a2 Mon Sep 17 00:00:00 2001 From: Marcel Greter Date: Sat, 20 May 2017 19:01:04 +0200 Subject: [PATCH] Fix parser for urls looking like ruleset selectors (#2376) --- src/prelexer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/prelexer.cpp b/src/prelexer.cpp index b387d4d63..8790d2c3f 100644 --- a/src/prelexer.cpp +++ b/src/prelexer.cpp @@ -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 <