diff --git a/aqt/reviewer.py b/aqt/reviewer.py index 70f19caa9..051a5f45f 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -376,7 +376,9 @@ Please run Tools>Maintenance>Empty Cards""") # compare with typed answer res = self.correct(cor, given) if cor != given: - res += "
" + _("Correct answer was:") + "
" + cor + # Wrap the extra text in an id-ed span. + res += '
{0}
{1}
'.format( + _("Correct answer was:"), cor) # and update the type answer area return re.sub(self.typeAnsPat, """ %s""" %