When passed "#internal-anchor" on a page other than the top-level index, the url filter returns a relative path to the top-level index.
Like, if I have a page about.md and the page.url is about/; if I pass "#internal-anchor" to the url filter, I get ../#internal-anchor.
The url filter should not modify those URLs that are internal to the current page.
(I suffer from this problem when using the material theme; in 3.0.4, in the "Skip to content" link, it passes a toc item's url to the url filter, which breaks it on every page except the top-level index. HTMLProofer complains about the broken link.)
When passed "#internal-anchor" on a page other than the top-level index, the
urlfilter returns a relative path to the top-level index.Like, if I have a page
about.mdand the page.url isabout/; if I pass "#internal-anchor" to theurlfilter, I get../#internal-anchor.The
urlfilter should not modify those URLs that are internal to the current page.(I suffer from this problem when using the material theme; in 3.0.4, in the "Skip to content" link, it passes a toc item's url to the
urlfilter, which breaks it on every page except the top-level index. HTMLProofer complains about the broken link.)