diff --git a/anki/collection.py b/anki/collection.py index 819b47f40..7d644b6e6 100644 --- a/anki/collection.py +++ b/anki/collection.py @@ -529,9 +529,6 @@ where c.nid = n.id and c.id in %s group by nid""" % ids2str(cids)): format = re.sub("{{(.*?)cloze:", r"{{\1ca-%d:" % (data[4]+1), format) format = format.replace("<%cloze:", "<%%ca:%d:" % ( data[4]+1)) - format = re.sub(r"^{{FrontSide}}\s*?
(.*)$", - "\\1
{{FrontSide}}", - format, flags=re.DOTALL) fields['FrontSide'] = stripSounds(d['q']) fields = runFilter("mungeFields", fields, model, data, self) html = anki.template.render(format, fields)