manuzhang / mkdocs-htmlproofer-plugin

A MkDocs plugin that validates URL in rendered html files
MIT License
43 stars 16 forks source link

fails on `../file.md#anchors` #89

Open nahuhh opened 1 month ago

nahuhh commented 1 month ago

Describe the bug fails on anchors such as:

Please see the [project license](../about.md#license) for further details.

../about.md will pass, but adding the #license causes it to fail

Environment (please complete the following information): Mkdocs 1.6.1 mkdocs-material 9.5.34

htmlproofer vers 1.3.0

nahuhh commented 1 month ago

Upd8. This if also relevant for external links that have anchors

manuzhang commented 1 month ago

@nahuhh Do you see this issue in previous versions?

nahuhh commented 1 month ago

@nahuhh Do you see this issue in previous versions?

I haven't tried previous versions. I'll test

nahuhh commented 1 month ago

Works on <=1.2.0 fails on >=1.2.1

manuzhang commented 1 month ago

@nahuhh Do you have a minimal example?