-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why remove anchor link extraction? #24
Comments
Anchor detection got removed during refactoring, as a link will still point to a sufficient url with a broken anchor, it still generates wrong/broken links. Especially when markdown is used to generate pages which are checked with tools like HTMLtest, which do verify proper anchors etc. Therefore i reintroduce this change with this pr, but as a configurable option. This should still allow the proper outcome of the refactoring, but ensures backwards compatibility for other users who rely on proper anchor handling. Relates: tcort#24 Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
I experienced this issue and stumbled upon this ticket. I am also unsure why it got removed, but I see failing tests with HTMLtest due to this "bug." Therefore I created a proposal pr - maybe it suits both sides. |
Anchor detection got removed during refactoring, as a link will still point to a sufficient url with a broken anchor, it still generates wrong/broken links. Especially when markdown is used to generate pages which are checked with tools like HTMLtest, which do verify proper anchors etc. Therefore i reintroduce this change with this pr, but as a configurable option. This should still allow the proper outcome of the refactoring, but ensures backwards compatibility for other users who rely on proper anchor handling. Relates: tcort#24 Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
Anchor detection got removed during refactoring, as a link will still point to a sufficient url with a broken anchor, it still generates wrong/broken links. Especially when markdown is used to generate pages which are checked with tools like HTMLtest, which do verify proper anchors etc. Therefore i reintroduce this change with this pr, but as a configurable option. This should still allow the proper outcome of the refactoring, but ensures backwards compatibility for other users who rely on proper anchor handling. Relates: tcort#24 Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
tcort/markdown-link-check#212 is also related |
@tcort should I keep my pr open, or should I close it? |
PR Merged |
Reverted. The changes don't work with the latest |
Do you have some more details? Unit tests does not failing. |
It causes a bug in markdown-link-check.
The text was updated successfully, but these errors were encountered: