From c014e14f2ffa9abc85c409111393ce04b588d0a6 Mon Sep 17 00:00:00 2001 From: Thomas Pot Date: Sun, 26 May 2024 21:51:21 +0200 Subject: [PATCH] [FIX] No formatting on colors --- mail_show_follower/models/mail_mail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail_show_follower/models/mail_mail.py b/mail_show_follower/models/mail_mail.py index f77dc6cc8d..1f0d65b1f8 100644 --- a/mail_show_follower/models/mail_mail.py +++ b/mail_show_follower/models/mail_mail.py @@ -57,8 +57,8 @@ def remove_p(markup_txt): {rc}{msg_warn} """.format( - msg_font_color=remove_p(msg_font_color), - msg_back_color=remove_p(msg_back_color), + msg_font_color=msg_font_color or "#000000", + msg_back_color=msg_back_color or "#EBEBEB", msg_sent_to=remove_p(msg_sent_to), partner_message=Markup.escape(partner_message), rc=msg_warn.striptags() and "
" or "",