mirror of
https://github.com/less/less.js.git
synced 2026-01-22 13:48:03 -05:00
Fixed inner quotes
This commit is contained in:
committed by
Alexis Sellier
parent
eff69f5b77
commit
16ad5bee0b
@@ -227,7 +227,11 @@ less.Parser = function Parser(env) {
|
||||
chunks[++j] = [];
|
||||
} else {
|
||||
if (c === '"' || c === "'") {
|
||||
inString = inString === c ? false : c;
|
||||
if (!inString) {
|
||||
inString = c;
|
||||
} else {
|
||||
inString = inString === c ? false : inString;
|
||||
}
|
||||
}
|
||||
chunk.push(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user