Fix format=flowed text re-wrapping for display

pull/88/head
Aleksander Machniak 12 years ago
parent c8f5588c8a
commit 71ec1b6063

@ -772,10 +772,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

Loading…
Cancel
Save