From 3541aaaabb45182c2420141280f21e4e6bc2942e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sat, 17 Feb 2024 16:40:19 +0100 Subject: [PATCH] fixup! feat: Add option to scan and register HTML anchors --- src/mkdocs_autorefs/plugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mkdocs_autorefs/plugin.py b/src/mkdocs_autorefs/plugin.py index c499861..06c8bcd 100644 --- a/src/mkdocs_autorefs/plugin.py +++ b/src/mkdocs_autorefs/plugin.py @@ -186,7 +186,6 @@ def on_page_content(self, html: str, page: Page, **kwargs: Any) -> str: # noqa: log.debug(f"Mapping identifiers to URLs for page {page.file.src_path}") for item in page.toc.items: self.map_urls(page.url, item) - return html def map_urls(self, base_url: str, anchor: AnchorLink) -> None: