@cilix/lightjs 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core.js +1 -1
- package/package.json +1 -1
package/core.js
CHANGED
|
@@ -397,7 +397,7 @@ module.exports = (config, fs, path) => {
|
|
|
397
397
|
let in_expr = false;
|
|
398
398
|
let pos = cursor;
|
|
399
399
|
while (i < max) {
|
|
400
|
-
if (text[i] === "{" && text[i+1] === "{" && in_expr === false) {
|
|
400
|
+
if (text[i] === "{" && text[i+1] === "{" && in_expr === false && text[i-1] !== '\\') {
|
|
401
401
|
in_expr = true;
|
|
402
402
|
chunks.push({ type: "chunk", data: chunk, pos: pos, file: file });
|
|
403
403
|
chunk = "{{";
|