[evolution] I#1206 - Mail: Preserve TABs in plain text body preview



commit 2aedb2fae3a71b48ab26f0c59e09f6ee12e60968
Author: Milan Crha <mcrha redhat com>
Date:   Wed Nov 4 11:19:07 2020 +0100

    I#1206 - Mail: Preserve TABs in plain text body preview
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1206

 src/em-format/e-mail-formatter-text-plain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/em-format/e-mail-formatter-text-plain.c b/src/em-format/e-mail-formatter-text-plain.c
index 4a540ee562..7c6befda6b 100644
--- a/src/em-format/e-mail-formatter-text-plain.c
+++ b/src/em-format/e-mail-formatter-text-plain.c
@@ -82,7 +82,7 @@ emfe_text_plain_format (EMailFormatterExtension *extension,
                }
 
                flags = e_mail_formatter_get_text_format_flags (formatter);
-               flags |= CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES;
+               flags |= CAMEL_MIME_FILTER_TOHTML_CONVERT_SPACES | CAMEL_MIME_FILTER_TOHTML_PRESERVE_TABS;
 
                mime_part = e_mail_part_ref_mime_part (part);
                dw = camel_medium_get_content (CAMEL_MEDIUM (mime_part));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]