@pdfme/common 6.1.12-dev.15 → 6.1.12-dev.16

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/index.js CHANGED
@@ -933,7 +933,10 @@ var evaluatePlaceholders = (arg) => {
933
933
  resultContent += content.slice(startIndex, endIndex);
934
934
  }
935
935
  index = endIndex;
936
- } else throw new Error("Invalid placeholder");
936
+ } else {
937
+ resultContent += content.slice(startIndex);
938
+ break;
939
+ }
937
940
  }
938
941
  return resultContent;
939
942
  };