From ea5a03f4f227f8dfdee7308bdccf421eb477a76a Mon Sep 17 00:00:00 2001 From: Wolfgang Fahl Date: Wed, 6 Dec 2023 20:47:08 +0100 Subject: [PATCH] adds hrs --- thunderbird/mail.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thunderbird/mail.py b/thunderbird/mail.py index 3b23559..0e42795 100644 --- a/thunderbird/mail.py +++ b/thunderbird/mail.py @@ -1199,12 +1199,13 @@ def as_html_section(self, section_name): # Start building the HTML string table_sections = ["info", "parts", "headers"] if section_name in table_sections: + html_parts.append("
") html_parts.append(f"") if section_name == "title": if self.mailid: html_parts.append(f"

{self.mailid}

") elif section_name == "wiki": - html_parts.append(self.asWikiMarkup()) + html_parts.append(f"
{self.asWikiMarkup()}
") elif section_name == "info": html_parts.append(self.table_line("User", self.user)) html_parts.append(self.table_line("Folder", self.folder_path))