Fixed inner quotes
This commit is contained in:
parent
f51c923a5d
commit
356ba4fd0d
@ -227,7 +227,11 @@ less.Parser = function Parser(env) {
|
|||||||
chunks[++j] = [];
|
chunks[++j] = [];
|
||||||
} else {
|
} else {
|
||||||
if (c === '"' || c === "'") {
|
if (c === '"' || c === "'") {
|
||||||
inString = inString === c ? false : c;
|
if (!inString) {
|
||||||
|
inString = c;
|
||||||
|
} else {
|
||||||
|
inString = inString === c ? false : inString;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
chunk.push(c);
|
chunk.push(c);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user