mirror of
https://github.com/xoofx/markdig.git
synced 2026-04-23 14:09:28 +00:00
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/876
Author: @Akarinnnnn
Created: 5/31/2025
Status: ✅ Merged
Merged: 6/5/2025
Merged by: @xoofx
Base:
master← Head:fix-872📝 Commits (4)
47c4e9bFix #872 by reserve null title string.6d1fa96Changed link parsing tests for #8726261660Explain why not to normalize link title into empty stringsec2eef2Remove HtmlHelper.UnescapeNullable📊 Changes
3 files changed (+8 additions, -8 deletions)
View changed files
📝
src/Markdig.Tests/TestLinkHelper.cs(+5 -5)📝
src/Markdig/Helpers/LinkHelper.cs(+2 -2)📝
src/Markdig/Parsers/Inlines/LinkInlineParser.cs(+1 -1)📄 Description
#872 reported an inconsistency between nullable annotation and possible value. In case of no title exists in a link syntax, consumers except
Titleproperty returns a null string. But current behavior isTitlereturning an empty string, This PR fixes the inconsistency by makeTitleproperty null if link title is not exist.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.