Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix stringifier incorrectly matching some links (#435)
The previous regex would match the following: ``` abilityMods: [4, 2, 3, -3, 1, -1] resistances: "[Some Link](note.md)" ``` So that that the first group (the link text) would match: ``` 4, 2, 3, -3, 1, -1]\n resistances: "[Some Link ``` and the second group (the path) would match: ``` note.md ``` This commit changes the regex so that it doesn't falsely match in these cases and instead just matches the actual markdown link.
- Loading branch information