Skip to content

Bug: Fail on invalid aliases with anchors #17

@mdbenito

Description

@mdbenito

Adding anchors to invalid aliases results in exceptions thrown instead of gracefully failing.

To reproduce, add this to a document:

[[this-just-fails|Some bad reference]]
[[this-fails#catastrophically|Some bad reference]]
[[#this-breaks-it-again|Some bad anchor]]

I'll have a PR ready in a few minutes with a solution!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions