From b277849db125629de5da55bf98d64e40f61ad1cd Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 9 Jun 2020 08:16:03 +1000 Subject: [PATCH] fix audio being included in FrontSide --- pylib/anki/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylib/anki/template.py b/pylib/anki/template.py index 8be0846da..0050f4c24 100644 --- a/pylib/anki/template.py +++ b/pylib/anki/template.py @@ -217,7 +217,7 @@ class TemplateRenderContext: qtext = apply_custom_filters(partial.qnodes, self, front_side=None) qout = self.col().backend.extract_av_tags(text=qtext, question_side=True) - atext = apply_custom_filters(partial.anodes, self, front_side=qtext) + atext = apply_custom_filters(partial.anodes, self, front_side=qout.text) aout = self.col().backend.extract_av_tags(text=atext, question_side=False) output = TemplateRenderOutput(