Skip to content

autolink_bare_uris doesn't work correctly in 3.1.12.x for URLs with dot, comma, parenthesis etc. #151

Closed
@debiedowner

Description

Take the following:

https://en.wikipedia.org/wiki/St._Petersburg_paradox

https://en.wikipedia.org/wiki/Liaison_(French)

https://en.wikipedia.org/wiki/Frederick_III,_German_Emperor

When I use any pandoc version before 3.1.12 with pandoc -f commonmark+autolink_bare_uris test.md -o test.html or pandoc -f gfm test.md -o test.html, or use Github or other Markdown implementations, these URLs are detected correctly, as:

https://en.wikipedia.org/wiki/St._Petersburg_paradox

https://en.wikipedia.org/wiki/Liaison_(French)

https://en.wikipedia.org/wiki/Frederick_III,_German_Emperor

But, using 3.1.12, or the most recent 3.1.12.2, pandoc results in the following instead

https://en.wikipedia.org/wiki/St._Petersburg_paradox

https://en.wikipedia.org/wiki/Liaison_(French)

https://en.wikipedia.org/wiki/Frederick_III,_German_Emperor

which is not the output I expect and consistent with other implementations.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions