Skip to content

Escape character doesn't work in links #903

@Iiridayn

Description

@Iiridayn

What I did (reproduced at https://parsedown.org/demo):

[test)](foo])
[te\]st)](foo])
[test)](fo\)o])

What I got:

<a href="foo%5D">test)</a>
[te]st)](foo])
<a href="fo%5C">test)</a>o])

What I expected (on the left at demo):

<a href="foo%5D">test)</a>
<a href="foo%5D">te]st)</a>
<a href="fo)o%5D">test)</a>

GFM output:

test)
te]st)
test)

Relevant specification examples:

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