From e4f6c3c488a49d1f3c7512c4dfa182bd42eeb082 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 9 Mar 2009 10:43:25 +0000 Subject: [PATCH] conditional replace of all CarriageReturnLinefeeds, since, if it is done always, a sendmail looses its linebreaks --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index 10b6888bbe..e8444bd6df 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -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;