gjtorikian / html-proofer

Test your rendered HTML files to make sure they're accurate.
MIT License
1.57k stars 199 forks source link

Check utf8 relative anchors #842

Closed ahpook closed 5 months ago

ahpook commented 5 months ago

This adds a test for the false-negative failures seen in https://github.com/gjtorikian/html-proofer/issues/757 - the root cause was an interaction between the (now-removed) regexp in the clean_url! method and Addressable::URI's normalize. The test passes now that https://github.com/gjtorikian/html-proofer/pull/820 is merged but the test should prevent regressions in the future.

gjtorikian commented 5 months ago

Rad, thank you!