[PR #733] [MERGED] Fix source span calculation #1197

Open
opened 2026-01-29 14:51:13 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/733
Author: @zickb
Created: 8/25/2023
Status: Merged
Merged: 8/26/2023
Merged by: @xoofx

Base: masterHead: fix_source_span_calculation


📝 Commits (2)

  • d26822b fix inline source spans calculation
  • a70ca63 Fix source span of paragraphs in table cells and cleanup InlineProcessor

📊 Changes

4 files changed (+68 additions, -6 deletions)

View changed files

📝 src/Markdig.Tests/MiscTests.cs (+29 -3)
📝 src/Markdig.Tests/TestSourcePosition.cs (+24 -1)
📝 src/Markdig/Extensions/Tables/PipeTableParser.cs (+6 -1)
📝 src/Markdig/Parsers/InlineProcessor.cs (+9 -1)

📄 Description

Update the LeafBlock.Inline source span after PostProcessInlines calls.

fixes #731, #730 and #702


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/733 **Author:** [@zickb](https://github.com/zickb) **Created:** 8/25/2023 **Status:** ✅ Merged **Merged:** 8/26/2023 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `fix_source_span_calculation` --- ### 📝 Commits (2) - [`d26822b`](https://github.com/xoofx/markdig/commit/d26822be05ac0d1bcea41ae30335d616eb820b76) fix inline source spans calculation - [`a70ca63`](https://github.com/xoofx/markdig/commit/a70ca6304f40c708815434a4590b8815acd31d9b) Fix source span of paragraphs in table cells and cleanup InlineProcessor ### 📊 Changes **4 files changed** (+68 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/MiscTests.cs` (+29 -3) 📝 `src/Markdig.Tests/TestSourcePosition.cs` (+24 -1) 📝 `src/Markdig/Extensions/Tables/PipeTableParser.cs` (+6 -1) 📝 `src/Markdig/Parsers/InlineProcessor.cs` (+9 -1) </details> ### 📄 Description Update the LeafBlock.Inline source span after `PostProcessInlines` calls. fixes #731, #730 and #702 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:51:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1197