bruce-models 1.8.7 → 1.8.8

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.
@@ -1973,7 +1973,9 @@
1973
1973
  const end = str.indexOf("}");
1974
1974
  if (end > -1) {
1975
1975
  if (start < end) {
1976
- return { path: str.substring(start + 2, end), text: str.substring(start, end) };
1976
+ const path = str.substring(start + 2, end);
1977
+ const txt = str.substring(start, end + 1);
1978
+ return { path: path, text: txt };
1977
1979
  }
1978
1980
  }
1979
1981
  }