[PR #891] [MERGED] Fix for table depth error when cell contains backticks #1280

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/891
Author: @phillip-haydon
Created: 9/18/2025
Status: Merged
Merged: 9/21/2025
Merged by: @xoofx

Base: masterHead: ph/fix-table-depth-error


📝 Commits (2)

  • d6b4f68 failing test
  • aea943a fixed bug with table containing back tick which causes depth error

📊 Changes

3 files changed (+73 additions, -1 deletions)

View changed files

📝 src/Markdig.Tests/TestPipeTable.cs (+44 -0)
📝 src/Markdig/Extensions/Tables/PipeTableParser.cs (+10 -0)
📝 src/Markdig/Parsers/Inlines/CodeInlineParser.cs (+19 -1)

📄 Description

This addresses the issue in #504 using the example from https://github.com/xoofx/markdig/issues/504#issuecomment-765049325

https://gist.github.com/MihaZupan/98621af5788f570f0dd0b809f1f3489b

Not sure what the process is on contributing as there's no open PRs so I don't think this has been fixed before :)


🔄 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/891 **Author:** [@phillip-haydon](https://github.com/phillip-haydon) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 9/21/2025 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `ph/fix-table-depth-error` --- ### 📝 Commits (2) - [`d6b4f68`](https://github.com/xoofx/markdig/commit/d6b4f68f8d3422ddee2e87414d01bcb2b288f34b) failing test - [`aea943a`](https://github.com/xoofx/markdig/commit/aea943a7c3e2e66f3f53a82937740b202c1abda2) fixed bug with table containing back tick which causes depth error ### 📊 Changes **3 files changed** (+73 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/TestPipeTable.cs` (+44 -0) 📝 `src/Markdig/Extensions/Tables/PipeTableParser.cs` (+10 -0) 📝 `src/Markdig/Parsers/Inlines/CodeInlineParser.cs` (+19 -1) </details> ### 📄 Description This addresses the issue in #504 using the example from https://github.com/xoofx/markdig/issues/504#issuecomment-765049325 https://gist.github.com/MihaZupan/98621af5788f570f0dd0b809f1f3489b Not sure what the process is on contributing as there's no open PRs so I don't think this has been fixed before :) --- <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:52:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1280