hide sound tags in preview screen

This commit is contained in:
Damien Elmes 2017-08-10 21:11:38 +10:00
parent 94cf132918
commit 85d4511766

View file

@ -1164,6 +1164,8 @@ where id in %s""" % ids2str(sf))
if self.mw.reviewer.autoplay(c): if self.mw.reviewer.autoplay(c):
playFromText(txt) playFromText(txt)
txt = mungeQA(self.col, txt)
self._previewWeb.eval( self._previewWeb.eval(
"_showQuestion(%s,'%s');" % (json.dumps(txt), bodyclass)) "_showQuestion(%s,'%s');" % (json.dumps(txt), bodyclass))