[PR #169] [CLOSED] fix autolink extension issue when url ending with comma #843

Open
opened 2026-01-29 14:46:17 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/169
Author: @yishengjin1413
Created: 11/14/2017
Status: Closed

Base: masterHead: fixautolinkextension


📝 Commits (1)

  • 7e73b7a fix autolink extension issue when url ending with comma

📊 Changes

2 files changed (+12 additions, -4 deletions)

View changed files

📝 src/Markdig.Tests/TestParser.cs (+6 -0)
📝 src/Markdig/Helpers/LinkHelper.cs (+6 -4)

📄 Description

Please see the unit test as an example, the original rendering result is <p><a href="http://your.company.abc,">http://your.company.abc,</a> abc</p>.

All the test cases are passed with this change.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/169 **Author:** [@yishengjin1413](https://github.com/yishengjin1413) **Created:** 11/14/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fixautolinkextension` --- ### 📝 Commits (1) - [`7e73b7a`](https://github.com/xoofx/markdig/commit/7e73b7ac01afa6b55524a2d87f1875502f17b8fa) fix autolink extension issue when url ending with comma ### 📊 Changes **2 files changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/TestParser.cs` (+6 -0) 📝 `src/Markdig/Helpers/LinkHelper.cs` (+6 -4) </details> ### 📄 Description Please see the unit test as an example, the original rendering result is `<p><a href="http://your.company.abc,">http://your.company.abc,</a> abc</p>`. All the test cases are passed with this change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:46:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#843