@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.
@@ -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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/runtime-tags",
3
- "version": "6.0.170",
3
+ "version": "6.0.171",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",