mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-10 21:40:00 +00:00
[PR #253] [CLOSED] Autolink domain name validation #895
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?
📋 Pull Request Information
Original PR: https://github.com/xoofx/markdig/pull/253
Author: @MihaZupan
Created: 10/6/2018
Status: ❌ Closed
Base:
master← Head:master📝 Commits (3)
25db277Add autolink domain validationdfc6702Add autolink domain validation tests721288eUpdate Specs.cs📊 Changes
4 files changed (+7399 additions, -3114 deletions)
View changed files
📝
src/Markdig.Tests/Specs/AutoLinks.md(+81 -1)📝
src/Markdig.Tests/Specs/Specs.cs(+7250 -3098)📝
src/Markdig/Extensions/AutoLinks/AutoLinkParser.cs(+20 -12)📝
src/Markdig/Helpers/LinkHelper.cs(+48 -3)📄 Description
#252
This makes it so AutoLinkParser doesn't match links with domain names, that:
This also doesn't match empty emails in mailto: (mailto:@something.com)
@xoofx
I included the Specs.cs file that my VS emits, but it's obviously seriously deformed. Any idea on how to fix it? (I will obviously amend the last commit if I figure that one out)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.