support https in the alt link markdown query

github/fork/yochananmarqos/patch-1
Manuel Genovés 2019-07-20 18:55:14 +02:00 committed by Gonçalo Silva
parent 300c386631
commit 3e661b8d9d
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ CODE = re.compile(
LINK = re.compile(
r"\[(?P<text>.*)\]\((?P<url>.+?)(?: \"(?P<title>.+)\")?\)")
LINK_ALT = re.compile(
r"(?:<)(?P<url>http://[^\s]+)(?:>)")
r"(?:<)(?P<url>https?://[^\s]+)(?:>)")
IMAGE = re.compile(
r"!\[(?P<text>.*)\]\((?P<url>.+?)(?: \"(?P<title>.+)\")?\)")
HORIZONTAL_RULE = re.compile(