mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #357] Ignore backslashes in GFM AutoLinks #973
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?
Original Pull Request: https://github.com/xoofx/markdig/pull/357
State: closed
Merged: Yes
Fixes #356
The cause for the last character disappearing stems from this span calculation that uses
link.Lengtheven though backticks could be removed from the string.This honors the difference between links and autolinks as stated in CommonMark and does not allow backtick escaping in automatic autolinks.
Edit: I meant backslash, not backtick