mirror of
https://github.com/less/less.js.git
synced 2026-02-19 03:04:38 -05:00
interpolated mixins, fixed: possible false match if variable contains ,
This commit is contained in:
@@ -36,7 +36,7 @@ tree.Selector.prototype = {
|
||||
|
||||
oelements = other.elements.map( function(v) {
|
||||
return v.combinator.value + (v.value.value || v.value);
|
||||
}).join("").match(/[&#\.\w-]([\w-]|(\\.))*/g);
|
||||
}).join("").match(/[,&#\.\w-]([\w-]|(\\.))*/g);
|
||||
// ^ regexp could be more simple but see test/less/css-escapes.less:17, doh!
|
||||
|
||||
if (!oelements) {
|
||||
|
||||
Reference in New Issue
Block a user