From da62bf3eb421eb807fd1561b8987c4b8703ef037 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Sun, 25 Jul 2010 16:51:19 -0400 Subject: [PATCH] support uppercase characters in attribute --- lib/less/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/less/parser.js b/lib/less/parser.js index b1a70654..24afec0d 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -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('');