Merge pull request #1570 from MSamman/Percent_As_Attribute

proposed solution to #1568: percentage as attribute
This commit is contained in:
Luke Page
2013-10-03 23:07:26 -07:00
3 changed files with 3 additions and 1 deletions

View File

@@ -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(']');