mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
formatting
This commit is contained in:
parent
bd96c27096
commit
c42619efeb
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@ def render_card(
|
||||||
else:
|
else:
|
||||||
side = _("Back")
|
side = _("Back")
|
||||||
errmsg = _("{} template has a problem:").format(side) + f"<br>{e}"
|
errmsg = _("{} template has a problem:").format(side) + f"<br>{e}"
|
||||||
errmsg += "<br><a href=https://anki.tenderapp.com/kb/problems/card-template-has-a-problem>{}</a>".format(_("More info"))
|
errmsg += "<br><a href=https://anki.tenderapp.com/kb/problems/card-template-has-a-problem>{}</a>".format(
|
||||||
|
_("More info")
|
||||||
|
)
|
||||||
output = TemplateRenderOutput(
|
output = TemplateRenderOutput(
|
||||||
question_text=errmsg,
|
question_text=errmsg,
|
||||||
answer_text=errmsg,
|
answer_text=errmsg,
|
||||||
|
|
Loading…
Reference in a new issue