Skip to content

Commit b8a3c27

Browse files
authored
Merge pull request #834 from snnz/fix-gridtables
Fix an incorrect offset in GridTableParser.
2 parents 57fad6f + e92a809 commit b8a3c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Markdig/Extensions/Tables/GridTableParser.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private BlockState HandleContents(BlockProcessor processor, GridTableState table
256256
{
257257
sliceForCell.End = line.Start + columnEnd - 1;
258258
}
259-
else if (line.PeekCharExtra(line.End) == '|')
259+
else if (line.PeekCharExtra(line.End - line.Start) == '|')
260260
{
261261
sliceForCell.End = line.End - 1;
262262
}

0 commit comments

Comments
 (0)