mirror of
https://github.com/less/less.js.git
synced 2026-01-23 22:27:57 -05:00
Merge '::selector' fix from StanAngeloff
This commit is contained in:
@@ -778,7 +778,7 @@ less.Parser = function Parser(env) {
|
||||
var e, t;
|
||||
|
||||
c = $(this.combinator);
|
||||
e = $(/^[.#:]?[\w-]+/) || $('*') || $(this.attribute) || $(/^\([^)@]+\)/);
|
||||
e = $(/^(?:[.#]?|:*)[\w-]+/) || $('*') || $(this.attribute) || $(/^\([^)@]+\)/);
|
||||
|
||||
if (e) { return new(tree.Element)(c, e) }
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user