trying to improve linebreak behavior while importing mails.

This commit is contained in:
Klaus Leithoff 2008-07-30 14:19:31 +00:00
parent d90ce31491
commit a4d50d7f30

View File

@ -1384,7 +1384,9 @@ class uiinfolog
reset($newBody);
while(list($key,$value) = @each($newBody))
{
$value .= "\n";
if (trim($value) != '') {
if ($value != "\r") $value .= "\n";
}
$bodyAppend = $bofelamimail->wordwrap($value,75,"\n");
$message .= $bodyAppend;
}