From 3e661b8d9d5085d9e07f087891a262b35b4524c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Genov=C3=A9s?= Date: Sat, 20 Jul 2019 18:55:14 +0200 Subject: [PATCH] support https in the alt link markdown query --- uberwriter/markup_regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uberwriter/markup_regex.py b/uberwriter/markup_regex.py index 91b47c8..d0fa219 100644 --- a/uberwriter/markup_regex.py +++ b/uberwriter/markup_regex.py @@ -13,7 +13,7 @@ CODE = re.compile( LINK = re.compile( r"\[(?P.*)\]\((?P.+?)(?: \"(?P.+)\")?\)") 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(