mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
handle empty property values
This commit is contained in:
@@ -381,7 +381,7 @@ less.parser = {
|
||||
|
||||
if (name = $(this.property) || $(this.entities.variable, true)) {
|
||||
if ((name[0] != '@') && (match =
|
||||
peek(/((?:[\s\w."']|-[a-z])+|[^@+\/*(-;}]+)[;}][\s\n]*/g))) {
|
||||
peek(/((?:[\s\w."']|-[a-z])+|[^@+\/*(;{}-]*)[;][\s\n]*/g))) {
|
||||
i += match[0].length;
|
||||
return new(node.Rule)(name, match[1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user