mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #891] [MERGED] Fix for table depth error when cell contains backticks #1280
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/891
Author: @phillip-haydon
Created: 9/18/2025
Status: ✅ Merged
Merged: 9/21/2025
Merged by: @xoofx
Base:
master← Head:ph/fix-table-depth-error📝 Commits (2)
d6b4f68failing testaea943afixed 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.