From 8ebd9c98cf4a4545019a44a78436853396288797 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Tue, 14 May 2024 11:47:36 +0200 Subject: [PATCH] add info if note is html --- imap2md/export-imap-notes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/imap2md/export-imap-notes.py b/imap2md/export-imap-notes.py index 58aa238..975e3c5 100644 --- a/imap2md/export-imap-notes.py +++ b/imap2md/export-imap-notes.py @@ -57,6 +57,7 @@ for i in range(messages, max(0, messages-N), -1): open(filepath, "wb").write(body.replace('\r\n', '\n').encode('utf8')) if content_type == "text/html": + print('>> html') md = markdownify(body) if md[:4] == 'html': md = md[4:]