summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-09 19:36:14 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-09 19:37:16 +0200
commitf76fa5005234ff01a04dcec6cde2b6c774eda624 (patch)
tree196d8032e4fe6ba8d8cfa95189a70842d5610a89 /program/steps/mail/func.inc
parente58f3d8c2bc8ee41174b3cabb4ccddd7b9c918c9 (diff)
Fix format=flowed text re-wrapping for display
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 2 insertions, 0 deletions
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('<blockquote>', $q - $quote_level))) . $body[$n];
+ $last = $n;
}
else if ($q < $quote_level) {
$body[$n] = $replacer->get_replacement($replacer->add(
str_repeat('</blockquote>', $quote_level - $q))) . $body[$n];
+ $last = $n;
}
else if ($flowed) {
// previous line is flowed