mirror of
https://github.com/less/less.js.git
synced 2026-02-08 22:15:04 -05:00
Merge branch 'master' into 2_0_0
This commit is contained in:
@@ -1346,7 +1346,7 @@ var Parser = function Parser(env) {
|
||||
|
||||
if (c === '/') {
|
||||
save();
|
||||
var slashedCombinator = $re(/\/[a-z]+\//i);
|
||||
var slashedCombinator = $re(/^\/[a-z]+\//i);
|
||||
if (slashedCombinator) {
|
||||
forget();
|
||||
return new(tree.Combinator)(slashedCombinator);
|
||||
|
||||
Reference in New Issue
Block a user