mirror of
https://github.com/xoofx/markdig.git
synced 2026-07-08 18:16:21 +00:00
[PR #243] [MERGED] Fix Link and Footnote reference definitions in syntax tree #887
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/243
Author: @MihaZupan
Created: 9/11/2018
Status: ✅ Merged
Merged: 9/15/2018
Merged by: @xoofx
Base:
master← Head:all-link-definitions📝 Commits (5)
d1576fdFix LinkReferenceDefinition source positions595dbb9Fix FootnoteLinkReferenceDefinition content and source positions6e55d84Add a FootnoteDefinition source position testb1440abAdd a LinkReferenceDefinition source position test31e163fFix offset calculation📊 Changes
6 files changed (+91 additions, -24 deletions)
View changed files
📝
src/Markdig.Tests/TestSourcePosition.cs(+44 -1)📝
src/Markdig/Extensions/Footnotes/FootnoteParser.cs(+7 -3)📝
src/Markdig/MarkdownPipelineBuilder.cs(+11 -4)📝
src/Markdig/Parsers/ParagraphBlockParser.cs(+14 -9)📝
src/Markdig/Syntax/LinkReferenceDefinitionGroup.cs(+9 -6)📝
src/Markdig/Syntax/SourceSpan.cs(+6 -1)📄 Description
This does not affect HTML rendering at all, it merely exposes more information to the syntax tree:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.