From ac382e114570537e038eca79d2c8b90a4b95af12 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 19 Nov 2012 11:08:11 +0100 Subject: Always save drafts with format=flowed in order to keep original paragraphs and line wraps (#1488799) --- program/steps/mail/sendmail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/sendmail.inc') diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 9f5080d0f..c26d774a2 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -585,7 +585,7 @@ else { $message_body = $plugin['body']; // compose format=flowed content if enabled - if ($flowed = $RCMAIL->config->get('send_format_flowed', true)) + if ($flowed = ($savedraft || $RCMAIL->config->get('send_format_flowed', true))) $message_body = rcube_mime::format_flowed($message_body, min($LINE_LENGTH+2, 79), $message_charset); else $message_body = rc_wordwrap($message_body, $LINE_LENGTH, "\r\n", false, $message_charset); -- cgit v1.2.3