mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #826] [MERGED] Fix extra line feeds in link title #1235
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/826
Author: @snnz
Created: 11/21/2024
Status: ✅ Merged
Merged: 11/24/2024
Merged by: @xoofx
Base:
master← Head:fix-extra-lfs📝 Commits (2)
7abce6dFix extra line feeds in link title66ef8f1Test added.📊 Changes
2 files changed (+10 additions, -0 deletions)
View changed files
📝
src/Markdig.Tests/TestLinkHelper.cs(+8 -0)📝
src/Markdig/Helpers/LinkHelper.cs(+2 -0)📄 Description
Extra line feeds appear in the parsed link titles containing Windows-style line breaks, because \n that is peeked after \r is not skipped.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.