zola/components/link_checker
Phil Lord 5190b5eba5 Add heuristic checking for HTML anchors (#1716)
* Add heuristic checking for HTML anchors

Previously only anchors specified or generated in markdown could be
linked to, without complaint from the link checker. We now use a
simple heuristic check for `name` or `id` attributes.

Duplicate code has been refactored and all XML anchor checks updated
to use regex rather than substring match.

* Fix regexp and refactor
2022-01-23 14:33:51 +01:00
..
src Add heuristic checking for HTML anchors (#1716) 2022-01-23 14:33:51 +01:00
Cargo.toml Add heuristic checking for HTML anchors (#1716) 2022-01-23 14:33:51 +01:00