-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: taglinks |-x| |==| not recognized
Problem: taglinks like `|-x|` and `|==|` are matched against the $.word pattern `/\|---[-+]+\|/` and `/\|===[=+]+\|/`, respectively (treesitter bug?). This prevents valid taglinks from being recognized. Solution: Give up on "|====|" and "|----|" plaintext nodes. These will now be parsed as taglinks. Consumers must ignore these cases manually.
- Loading branch information
Showing
2 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters