We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17665e2 commit 62cfc22Copy full SHA for 62cfc22
src/mkdocs_autorefs/_internal/references.py
@@ -619,10 +619,6 @@ def fix_refs(
619
return html, unmapped
620
621
622
-_html_attrs_parser = _HTMLAttrsParser()
623
-_html_tag_stripper = _HTMLTagStripper()
624
-
625
626
def _find_url(
627
identifiers: Iterable[str],
628
url_mapper: Callable[[str], tuple[str, str | None]],
@@ -660,6 +656,10 @@ def _log_enabling_backlinks() -> None:
660
656
_log.debug("Enabling backlinks feature")
661
657
662
658
659
+_html_attrs_parser = _HTMLAttrsParser()
+_html_tag_stripper = _HTMLTagStripper()
+
663
# YORE: Bump 2: Remove block.
664
_ATTR_VALUE = r'"[^"<>]+"|[^"<> ]+' # Possibly with double quotes around
665
AUTO_REF_RE = re.compile(
0 commit comments