mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
add support for utf-8, fixes #396 (this time less messy commit)
This commit is contained in:
committed by
Luke Page
parent
96ef26a9ff
commit
d81ba3bb38
@@ -957,7 +957,7 @@ less.Parser = function Parser(env) {
|
||||
var e, t, c, v;
|
||||
|
||||
c = $(this.combinator);
|
||||
e = $(/^(?:\d+\.\d+|\d+)%/) || $(/^(?:[.#]?|:*)(?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/) ||
|
||||
e = $(/^(?:\d+\.\d+|\d+)%/) || $(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/) ||
|
||||
$('*') || $('&') || $(this.attribute) || $(/^\([^)@]+\)/);
|
||||
|
||||
if (! e) {
|
||||
|
||||
Reference in New Issue
Block a user