mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
HTML Link with URL text tries to render twice when AutoLink() is on #61
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 @RickStrahl on GitHub (Oct 11, 2016).
If you have a link like this when Autolink is enabled:
<a href="http://somewhere.com" target="top">http://somewhere.com</a>the parser produces:
http://somehwere.com</a>Looks like AutoLink needs to ensure it's not already inside of a link or link text before expanding a URL.
@xoofx commented on GitHub (Oct 11, 2016):
Ah 😨 sorry for this regression 😅
This should be fixed by commit
81b8dce(with relevant additional tests)I have included also another case with regular markdown links that could also interfere