diff --git a/aqt/editor.py b/aqt/editor.py index c2842f7c6..4df8374bb 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -866,8 +866,7 @@ to a cloze type first, via Edit>Change Note Type.""")) pass # return a local html link ext = name.split(".")[-1].lower() - if not isWin and not isMac: - name = urllib.quote(name.encode("utf8")) + name = urllib.quote(name.encode("utf8")) if ext in pics: return '' % name else: