From 78155afb09d1b9dbdc808f2f7e436a16829449f5 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 27 May 2013 12:15:21 +0900 Subject: [PATCH] we shouldn't be quoting sound tags --- aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/editor.py b/aqt/editor.py index 4df8374bb..9c9f226b4 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -866,8 +866,8 @@ to a cloze type first, via Edit>Change Note Type.""")) pass # return a local html link ext = name.split(".")[-1].lower() - name = urllib.quote(name.encode("utf8")) if ext in pics: + name = urllib.quote(name.encode("utf8")) return '' % name else: anki.sound.play(name)