From 1860c77b89289067c3cb475d08fbdb243166f0dd Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 15 Jul 2012 16:41:55 +0900 Subject: [PATCH] allow downloading of https from clipboard --- aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/editor.py b/aqt/editor.py index 284f3da09..76fc455aa 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -1026,7 +1026,7 @@ class EditorWebView(AnkiWebView): l = txt.lower() html = None # if the user is pasting an image or sound link, convert it to local - if l.startswith("http://") or l.startswith("file://"): + if l.startswith("http://") or l.startswith("https://") or l.startswith("file://"): txt = txt.split("\r\n")[0] html = self._localizedMediaLink(txt) if html == txt: