Tweak Mistletoe autolink

main
Thomas Sileo 2022-10-19 21:09:30 +02:00
parent d93bcf6128
commit 0144a1c0d4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ _URL_REGEX = re.compile(
class AutoLink(SpanToken): class AutoLink(SpanToken):
parse_inner = False parse_inner = False
precedence = 10 precedence = 1
pattern = _URL_REGEX pattern = _URL_REGEX
def __init__(self, match_obj: re.Match) -> None: def __init__(self, match_obj: re.Match) -> None: