mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
support uppercase characters in attribute
This commit is contained in:
@@ -814,7 +814,7 @@ less.Parser = function Parser(env) {
|
||||
|
||||
if (! $('[')) return;
|
||||
|
||||
if (key = $(/^[a-z-]+/) || $(this.entities.quoted)) {
|
||||
if (key = $(/^[a-zA-Z-]+/) || $(this.entities.quoted)) {
|
||||
if ((op = $(/^[|~*$^]?=/)) &&
|
||||
(val = $(this.entities.quoted) || $(/^[\w-]+/))) {
|
||||
attr = [key, op, val.toCSS ? val.toCSS() : val].join('');
|
||||
|
||||
Reference in New Issue
Block a user