mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
allow downloading of https from clipboard
This commit is contained in:
parent
beb580117c
commit
1860c77b89
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue