diff --git a/qt/aqt/editor.py b/qt/aqt/editor.py index ca6030eec..ce5f044b1 100644 --- a/qt/aqt/editor.py +++ b/qt/aqt/editor.py @@ -1130,7 +1130,9 @@ class EditorWebView(AnkiWebView): processed.append(link) else: # not media; add it as a normal link - link = '{}'.format(token, html.escape(token)) + link = '{}'.format( + token, html.escape(urllib.parse.unquote(token)) + ) processed.append(link) else: token = html.escape(token).replace("\t", " " * 4)