summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-11-19 11:08:11 +0100
committerThomas Bruederli <thomas@roundcube.net>2012-11-19 11:08:11 +0100
commitac382e114570537e038eca79d2c8b90a4b95af12 (patch)
tree519ea38c7f82388a61fc13716e530deba18d83c9 /program/steps/mail
parentc72a96144de1e5674159f4010ec0e44c9d946a5b (diff)
Always save drafts with format=flowed in order to keep original paragraphs and line wraps (#1488799)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/sendmail.inc2
1 files changed, 1 insertions, 1 deletions
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);