Bug: Fail on invalid aliases with anchors #17
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
luten/mkdocs-alias-plugin#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adding anchors to invalid aliases results in exceptions thrown instead of gracefully failing.
To reproduce, add this to a document:
I'll have a PR ready in a few minutes with a solution!
Just ran into this problem too.
It would be great to have tests for controlling invalid aliases as well. I'll try to add some cases when I find some time.
I had totally forgotten about this 😅 It seems I also forgot to link the PR to the issue.
I've added a PR #19 that adds some tests for this failing cases.
After merging #18, tests should pass.
@EddyLuten Any chance #18 and #19 can be merged?