update @ Fri 4 Nov 02:46:07 EET 2022

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-11-04 02:46:07 +02:00
parent 8f879c46cc
commit d3d5b7899a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2

View file

@ -313,7 +313,7 @@ class BetterHeaders(Treeprocessor):
class AddIDLinks(InlineProcessor):
"""Add support for <#ID> links"""
def handleMatch(self, match, data: str) -> tuple[etree.Element, Any, Any]:
def handleMatch(self, match, data: str) -> Tuple[etree.Element, Any, Any]:
link: etree.Element = etree.Element("a")
link.text = match.group(1) or "#"