forked from extern/egroupware
conditional replace of all CarriageReturnLinefeeds, since, if it is done always, a sendmail looses its linebreaks
This commit is contained in:
parent
10e7a6ba21
commit
e4f6c3c488
@ -1392,7 +1392,7 @@ class infolog_ui
|
||||
$newBody = $GLOBALS['egw']->translation->convert($bodyParts[$i]['body'], $bodyParts[$i]['charSet']);
|
||||
if ($bodyParts[$i]['mimeType'] == 'text/html') {
|
||||
// convert HTML to text, as we dont want HTML in infologs
|
||||
$newBody = $bofelamimail->convertHTMLToText($newBody);
|
||||
$newBody = $bofelamimail->convertHTMLToText($newBody,true);
|
||||
$bofelamimail->getCleanHTML($newBody); // new Body passed by reference
|
||||
$message .= $newBody;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user