zola/components/utils
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
test-files Add a test for local time in TOML 2019-04-18 18:55:09 +02:00
test-templates Fix some theme extension 2020-02-10 23:09:22 +01:00
Cargo.toml Add heuristic checking for HTML anchors (#1716) 2022-01-23 14:33:51 +01:00