diff --git a/pylib/anki/template.py b/pylib/anki/template.py index febb145e1..b4cf77874 100644 --- a/pylib/anki/template.py +++ b/pylib/anki/template.py @@ -35,6 +35,7 @@ import anki from anki import hooks from anki.hooks import runFilter from anki.rsbackend import TemplateReplacementList +from anki.sound import stripSounds def render_card( @@ -70,7 +71,7 @@ def apply_custom_filters( else: # do we need to inject in FrontSide? if node.field_name == "FrontSide" and front_side is not None: - node.current_text = front_side + node.current_text = stripSounds(front_side) field_text = node.current_text for filter_name in node.filters: