From c08892e55d6ccf4b5759308835c0a4eda29c5213 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Fri, 12 Apr 2024 15:46:14 +0200 Subject: fix json and raw formating for read --- src/jwebmail/render_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jwebmail/render_mail.py') diff --git a/src/jwebmail/render_mail.py b/src/jwebmail/render_mail.py index d348721..bbac94b 100644 --- a/src/jwebmail/render_mail.py +++ b/src/jwebmail/render_mail.py @@ -122,7 +122,7 @@ def render_message(subtype, msg, path): R += _format_header(gettext("CC"), msg["head"].get("cc")) R += _format_header(gettext("BCC"), msg["head"].get("bcc")) R += f"
{escape(gettext('Date'))}
" - date = escape(msg['head']['date']) + date = escape(msg["head"]["date"]) R += f"
\n" R += f"
{escape(gettext('Content-Type'))}
" R += f"
{to_mime_type(msg['head']['mime'])}
\n" -- cgit v1.2.3