Skip to content

Commit 62cfc22

Browse files
committed
chore: Symbol reorganization
1 parent 17665e2 commit 62cfc22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/mkdocs_autorefs/_internal/references.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,10 +619,6 @@ def fix_refs(
619619
return html, unmapped
620620

621621

622-
_html_attrs_parser = _HTMLAttrsParser()
623-
_html_tag_stripper = _HTMLTagStripper()
624-
625-
626622
def _find_url(
627623
identifiers: Iterable[str],
628624
url_mapper: Callable[[str], tuple[str, str | None]],
@@ -660,6 +656,10 @@ def _log_enabling_backlinks() -> None:
660656
_log.debug("Enabling backlinks feature")
661657

662658

659+
_html_attrs_parser = _HTMLAttrsParser()
660+
_html_tag_stripper = _HTMLTagStripper()
661+
662+
663663
# YORE: Bump 2: Remove block.
664664
_ATTR_VALUE = r'"[^"<>]+"|[^"<> ]+' # Possibly with double quotes around
665665
AUTO_REF_RE = re.compile(

0 commit comments

Comments
 (0)