Anchor checking fails when the close of a fence block is indented more than the open
The issue happens when the heading follows fenced code block where the closing back-ticks are indented more than the opening of the code block and the next section contains a properly formatted fence block.
I'm not sure if this is valid markdown or not. If it is invalid a parsing error would be nice.
Repro: test.md
$ markdown-link-check --version
3.13.7
$ markdown-link-check test.md
FILE: test.md
[✓] #working-anchor
[✖] #broken-anchor
2 links checked.
ERROR: 1 dead links found!
[✖] #broken-anchor → Status: 404
This issue has been marked as stale because it has been open 60 days with no activity. It will be closed in 90 days unless the stale label is removed or someone adds a comment.
This is still an issue
I experienced a similar issue with inline HTML.
Adding a <br> tag to one section broke the link checker.
I experienced a similar issue with inline HTML.
Adding a
<br>tag to one section broke the link checker.
Many thanks for the report. Can you please provide a full example input? @dfl-aeb