Tweak Mistletoe autolink
parent
d93bcf6128
commit
0144a1c0d4
|
@ -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 New Issue