mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-13 13:54:56 +00:00
Incorrect Line/Column positions inside GridTable #744
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?
Originally created by @messani on GitHub (Jul 11, 2025).
I have the following markdown:
The line and column reported for the link inside the PipeTable (LinkB) are correct: Line 12, Column 4.
However, the link inside the GridTable (LinkA) is incorrectly reported at Line 5, Column 1.
I tried to fix this issue, but since I had to spend some time learning how the code works, my fix is probably not clean or stable enough for a pull request.
You can find it here, in my forked repository:
https://github.com/messani/markdig
Can you please fix it?
@xoofx commented on GitHub (Jul 11, 2025):
Many non CommonMark extensions in markdig are not properly reporting source location, so they need to be fixed.
This is an OSS project, and I don't have incentive/personal time dedicated to fix this problem, so it will have to come from a contributor.