diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-09 20:22:47 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-09 20:22:47 +0200 |
commit | 621a2e7f1c6ea22c6fa8804f6ef3f3a876acf296 (patch) | |
tree | 2202dbca48c44910f2a00bd276b666ce55ac49bd /program/steps/mail/compose.inc | |
parent | f76fa5005234ff01a04dcec6cde2b6c774eda624 (diff) |
Simplify format=flowed handling code, don't duplicate same code
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r-- | program/steps/mail/compose.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index c3fc715a6..5e1d95d8a 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -676,6 +676,11 @@ function rcmail_compose_part_body($part, $isHtml = false) $body = rcmail_remove_signature($body); } } + + if ($part->ctype_parameters['format'] == 'flowed') { + $body = rcube_mime::unfold_flowed($body); + } + // add HTML formatting $body = rcmail_plain_body($body); if ($body) { |