Skip to content

Commit

Permalink
fix: Inline Statblocks will now have their links transformed properly
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Mar 8, 2024
1 parent c6f7e7d commit a15d5c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/watcher/watcher.worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ class Parser {
)}`
);

const frontmatter = Stringifier.transformSource(statBlock);
const monster: Monster = Object.assign(
{},
YAML.parse(statBlock),
YAML.parse(frontmatter),
{
mtime: file.mtime
}
Expand Down

0 comments on commit a15d5c2

Please sign in to comment.