mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Tweak Mistletoe autolink
This commit is contained in:
parent
d93bcf6128
commit
0144a1c0d4
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue