mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
AutoLinks: URL that contain underscore at end are not parsed correctly #678
Reference in New Issue
Block a user
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?
Originally created by @hey-red on GitHub (May 10, 2024).
Markdig 0.37.0
Example link:
https://github.com/xoofx/markdig_Result:
<p><a href="https://github.com/xoofx/markdig">https://github.com/xoofx/markdig</a>_</p>Github has same behaviour, so it's not a bug I guess?
https://github.com/xoofx/markdig_
@MihaZupan commented on GitHub (May 12, 2024):
This is intentional - some trailing punctuation characters are trimmed from autolinks.
See https://github.github.com/gfm/#extended-autolink-path-validation
I'd suggest enclosing potentially problematic links in brackets manually
<https://github.com/xoofx/markdig_>@hey-red commented on GitHub (May 12, 2024):
Okay. Thanks for response.