[PR #375] [MERGED] Balanced link brackets #972

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/375
Author: @MihaZupan
Created: 10/8/2019
Status: Merged
Merged: 10/15/2019
Merged by: @xoofx

Base: masterHead: balanced-link-brackets


📝 Commits (4)

  • f52a41e Cleanup LinkInline parsing code
  • a76305f Add tests for balanced brackets in link text
  • f16ee82 Fix link text balanced bracket matching
  • 33037d1 Update changelog

📊 Changes

4 files changed (+224 additions, -191 deletions)

View changed files

📝 changelog.md (+6 -0)
📝 src/Markdig.Tests/MiscTests.cs (+40 -0)
📝 src/Markdig/Parsers/Inlines/LinkInlineParser.cs (+162 -188)
📝 src/Markdig/Syntax/Inlines/Inline.cs (+16 -3)

📄 Description

Fixes #371

Actual change is just f16ee82

I am not 100% that this doesn't cause any regressions, I tried to test as many cases as I could come up with. @yishengjin1413 do you have an example that this wouldn't work on?


🔄 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/375 **Author:** [@MihaZupan](https://github.com/MihaZupan) **Created:** 10/8/2019 **Status:** ✅ Merged **Merged:** 10/15/2019 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `balanced-link-brackets` --- ### 📝 Commits (4) - [`f52a41e`](https://github.com/xoofx/markdig/commit/f52a41e167ecde4b6171a9fa1dfb8962a2be9655) Cleanup LinkInline parsing code - [`a76305f`](https://github.com/xoofx/markdig/commit/a76305f39ba2bcbb9ad99ae744e6910c7c2b7d4a) Add tests for balanced brackets in link text - [`f16ee82`](https://github.com/xoofx/markdig/commit/f16ee828db96573f3ca78a041ef69977ee9445a7) Fix link text balanced bracket matching - [`33037d1`](https://github.com/xoofx/markdig/commit/33037d1034cf982ddd86e311e77adad19ba82f21) Update changelog ### 📊 Changes **4 files changed** (+224 additions, -191 deletions) <details> <summary>View changed files</summary> 📝 `changelog.md` (+6 -0) 📝 `src/Markdig.Tests/MiscTests.cs` (+40 -0) 📝 `src/Markdig/Parsers/Inlines/LinkInlineParser.cs` (+162 -188) 📝 `src/Markdig/Syntax/Inlines/Inline.cs` (+16 -3) </details> ### 📄 Description Fixes #371 Actual change is just f16ee82 I am not 100% that this doesn't cause any regressions, I tried to test as many cases as I could come up with. @yishengjin1413 do you have an example that this wouldn't work on? --- <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:47:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#972