output strings in attribute selectors properly
This commit is contained in:
parent
7e3d8bda32
commit
b4f3e9029c
@ -370,7 +370,7 @@ less.parser = {
|
||||
if (key = $(/[a-z]+/g) || $(this.entities.string)) {
|
||||
if ((op = $(/[|~*$^]?=/g)) &&
|
||||
(val = $(this.entities.string) || $(/[\w-]+/g))) {
|
||||
attr = [key, op, val].join('');
|
||||
attr = [key, op, val.toCSS ? val.toCSS() : val].join('');
|
||||
} else { attr = key }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user