mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #837] [MERGED] Fix errors in LinkHelper and LinkInlineParser. #1245
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/837
Author: @snnz
Created: 12/21/2024
Status: ✅ Merged
Merged: 12/27/2024
Merged by: @xoofx
Base:
master← Head:fix-links📝 Commits (7)
c35f7ffFixed errors in LinkHelper and LinkInlineParser.90365bfUpdate src/Markdig/Parsers/Inlines/LinkInlineParser.csad0770aUpdate src/Markdig/Parsers/Inlines/LinkInlineParser.cs54783b8Update src/Markdig/Parsers/Inlines/LinkInlineParser.cs7f604beUpdate src/Markdig/Parsers/Inlines/LinkInlineParser.cs90bc15cUpdate src/Markdig.Tests/TestPlayParser.csab8e85bRemove additional condition, since a carriage return constitute a line ending regardless of whether it is followed by a line feed or not.📊 Changes
4 files changed (+124 additions, -130 deletions)
View changed files
📝
src/Markdig.Tests/TestLinkHelper.cs(+15 -0)📝
src/Markdig.Tests/TestPlayParser.cs(+8 -0)📝
src/Markdig/Helpers/LinkHelper.cs(+92 -124)📝
src/Markdig/Parsers/Inlines/LinkInlineParser.cs(+9 -6)📄 Description
Here is what I used to fix #830.
LinkHelper.TryParseTitleis replaced with more structured and clearer one, check it out.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.