@bitcobblers/wod-wiki-engine 0.35.2125 → 0.35.2127

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/bin/wod.cjs CHANGED
@@ -715,7 +715,8 @@ ${shown}${more}`);
715
715
  for (const { id, files } of groups) {
716
716
  const templateSource = id === TEMPLATE_CHUNK_ID ? options.templateFile : void 0;
717
717
  const rows = files.map((p) => {
718
- const content = fs.readFileSync(templateSource ?? path.join(corpusRoot, p), "utf8");
718
+ const raw = fs.readFileSync(templateSource ?? path.join(corpusRoot, p), "utf8");
719
+ const content = id === TEMPLATE_CHUNK_ID ? raw.replace(/\$CURSOR/g, "") : raw;
719
720
  const compiled = compileSeedRow(p, content);
720
721
  compiled.blockIndex = blocksByPath.get(p) ?? compiled.blockIndex;
721
722
  compiled.blockEfforts = effortsByPath.get(p) ?? [];