mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Merge pull request #1570 from MSamman/Percent_As_Attribute
proposed solution to #1568: percentage as attribute
This commit is contained in:
@@ -1241,7 +1241,7 @@ less.Parser = function Parser(env) {
|
||||
}
|
||||
|
||||
if ((op = $(/^[|~*$^]?=/))) {
|
||||
val = $(this.entities.quoted) || $(/^[\w-]+/) || $(this.entities.variableCurly);
|
||||
val = $(this.entities.quoted) || $(/^[0-9]+%/) || $(/^[\w-]+/) || $(this.entities.variableCurly);
|
||||
}
|
||||
|
||||
expect(']');
|
||||
|
||||
Reference in New Issue
Block a user