[PR #876] Fix #872 by reserve null title string. #1274

Closed
opened 2026-01-29 14:52:23 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/xoofx/markdig/pull/876

State: closed
Merged: Yes


#872 reported an inconsistency between nullable annotation and possible value. In case of no title exists in a link syntax, consumers except Title property returns a null string. But current behavior is Title returning an empty string, This PR fixes the inconsistency by make Title property null if link title is not exist.

**Original Pull Request:** https://github.com/xoofx/markdig/pull/876 **State:** closed **Merged:** Yes --- #872 reported an inconsistency between nullable annotation and possible value. In case of no title exists in a link syntax, consumers except `Title` property returns a null string. But current behavior is `Title` returning an empty string, This PR fixes the inconsistency by make `Title` property null if link title is not exist.
claunia added the pull-request label 2026-01-29 14:52:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1274