Skip to content

Commit aff8a68

Browse files
committedDec 18, 2024·
A test has been added.
1 parent 68659f4 commit aff8a68

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
 

‎src/Markdig.Tests/TestSourcePosition.cs

+23
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,29 @@ public void TestPipeTable2()
807807
", "pipetables");
808808
}
809809

810+
[Test]
811+
public void TestPipeTable3()
812+
{
813+
// 01234 5678 9ABCD
814+
Check("|a|b\n-|-\n0|1|\n", @"
815+
table ( 0, 0) 0-12
816+
tablerow ( 0, 1) 1-3
817+
tablecell ( 0, 1) 1-1
818+
paragraph ( 0, 1) 1-1
819+
literal ( 0, 1) 1-1
820+
tablecell ( 0, 3) 3-3
821+
paragraph ( 0, 3) 3-3
822+
literal ( 0, 3) 3-3
823+
tablerow ( 2, 0) 9-11
824+
tablecell ( 2, 0) 9-9
825+
paragraph ( 2, 0) 9-9
826+
literal ( 2, 0) 9-9
827+
tablecell ( 2, 2) 11-11
828+
paragraph ( 2, 2) 11-11
829+
literal ( 2, 2) 11-11
830+
", "pipetables");
831+
}
832+
810833
[Test]
811834
public void TestIndentedCode()
812835
{

0 commit comments

Comments
 (0)
Please sign in to comment.