From 8c89a7fc44ef9e4e68af23822d3153a2496d93d7 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 30 Sep 2022 14:08:03 +1000 Subject: [PATCH] Fix type answer warning making text bold --- qt/aqt/clayout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/clayout.py b/qt/aqt/clayout.py index db7ae7300..1df0b27cd 100644 --- a/qt/aqt/clayout.py +++ b/qt/aqt/clayout.py @@ -586,7 +586,7 @@ class CardLayout(QDialog): repl = answerRepl out = re.sub(type_filter, repl, txt, count=1) - warning = f"
{tr.card_templates_type_boxes_warning()}
" + warning = f"
{tr.card_templates_type_boxes_warning()}
" return re.sub(type_filter, warning, out) # Card operations