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