From 85d4511766beeca4d8a7c4a7c06ed6a4c799f5a2 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 10 Aug 2017 21:11:38 +1000 Subject: [PATCH] hide sound tags in preview screen --- aqt/browser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aqt/browser.py b/aqt/browser.py index 774e4035b..6fd359b7d 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -1164,6 +1164,8 @@ where id in %s""" % ids2str(sf)) if self.mw.reviewer.autoplay(c): playFromText(txt) + txt = mungeQA(self.col, txt) + self._previewWeb.eval( "_showQuestion(%s,'%s');" % (json.dumps(txt), bodyclass))