mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #885] [MERGED] Add support for a table without an extra new line before it #1277
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/885
Author: @dannyp32
Created: 8/9/2025
Status: ✅ Merged
Merged: 8/28/2025
Merged by: @xoofx
Base:
master← Head:supportTableWithoutExtraLine📝 Commits (1)
d548b82Add support for a table without an extra new line before it📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
src/Markdig.Tests/TestPipeTable.cs(+2 -0)📝
src/Markdig/Extensions/Tables/PipeTableParser.cs(+3 -3)📄 Description
Fixes the following issue where a table will not be rendered if there isn't an extra line before the table.
https://github.com/xoofx/markdig/issues/818
For example this will not render correctly
But this will because there's an extra new line before the table starts
Not handled in this change - whitespace between the new line and the pipe
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.