-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: do not parse wikilinks existing within pre or code tags #53
Comments
BUGFIX: Do not parse anchor tags within code blocks
I thought I had fixed this in #64, however when testing with my 11ty install it's still picking up both wikilinks and html anchors that are within pre or code blocks. Needs further investigation because when running the markdown checker directly it excludes wikilink lookup from within code blocks, where as it appears that when run from 11ty it doesn't... |
This is related to #65. Where I am using the inline rule it's unaware it's running inside a code block. Switching to a block rule may fix this issue as well. |
The markdown rules correctly ignore wikilinks found within code blocks (either I'm moving this to the next milestone so that it stops blocking the v1.1.0 release and will work on it as the next priority. |
Where I have some wiki link examples within my blog I am seeing the interlinker error on parsing them, going so far as to throw an error due to both the "linked" page and identified resolving function not existing.
The text was updated successfully, but these errors were encountered: