From f76fa5005234ff01a04dcec6cde2b6c774eda624 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 9 May 2013 19:36:14 +0200 Subject: [PATCH] Fix format=flowed text re-wrapping for display --- program/steps/mail/func.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 17ab6f97d..69f34131a 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -777,10 +777,12 @@ function rcmail_plain_body($body, $flowed=false) if ($q > $quote_level) { $body[$n] = $replacer->get_replacement($replacer->add( str_repeat('
', $q - $quote_level))) . $body[$n]; + $last = $n; } else if ($q < $quote_level) { $body[$n] = $replacer->get_replacement($replacer->add( str_repeat('
', $quote_level - $q))) . $body[$n]; + $last = $n; } else if ($flowed) { // previous line is flowed