mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
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']);
|
$newBody = $GLOBALS['egw']->translation->convert($bodyParts[$i]['body'], $bodyParts[$i]['charSet']);
|
||||||
if ($bodyParts[$i]['mimeType'] == 'text/html') {
|
if ($bodyParts[$i]['mimeType'] == 'text/html') {
|
||||||
// convert HTML to text, as we dont want HTML in infologs
|
// 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
|
$bofelamimail->getCleanHTML($newBody); // new Body passed by reference
|
||||||
$message .= $newBody;
|
$message .= $newBody;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user