@marko/runtime-tags 6.0.170 → 6.0.171
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/dist/translator/index.js +1 -1
- package/package.json +1 -1
package/dist/translator/index.js
CHANGED
|
@@ -2366,7 +2366,7 @@ function appendLiteral(arr, str) {
|
|
|
2366
2366
|
arr[arr.length - 1] += str;
|
|
2367
2367
|
}
|
|
2368
2368
|
function escapeTemplateRaw(raw) {
|
|
2369
|
-
return raw.replace(/\\/g, "\\\\").replace(/`/g, "\\`");
|
|
2369
|
+
return raw.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$(?=\{)/g, "\\$");
|
|
2370
2370
|
}
|
|
2371
2371
|
function shiftItems(list, start, offset) {
|
|
2372
2372
|
for (let i = list.length - 1; i >= start; i--) list[i + offset] = list[i];
|