UmbrellaDocs / linkspector

Uncover broken links in your content.
Apache License 2.0
55 stars 8 forks source link

[BUG] Section links appear to be reported as broken when they are not #57

Closed KStocky closed 1 month ago

KStocky commented 1 month ago

Describe the bug

Links to sections of the current page are reported as broken when they are valid.

To Reproduce

This is a link to a failing report of Linkspector that is run alongside markdown link checker.

It claims that the link 4c of my tutorial is broken when it is demonstrably not.

markdown link checker succeeds in validating that it is correct.

Expected behavior Expected a valid link to a page section to report as valid

gaurav-nelson commented 1 month ago

Thank you @KStocky for submitting the issue. It is a bug indeed. It's happening because the Linkspector is trying to match the id #what-did-we-do-here with #what-did-we-do-here? (with question mark) and failing. I'll get in a fix for this one.