diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index a7ce875b71..00048bc728 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -660,7 +660,7 @@ class mail_compose $isFirstLoad = "switchedplaintohtml"; //error_log(__METHOD__.__LINE__.$content['mail_plaintext']); $suppressSigOnTop = true; - $content['mail_plaintext'] = str_replace(array("\r\n","\n","\r"),array("
","
","
"),$content['mail_plaintext']); + $content['mail_plaintext'] = str_replace(['<',"\r\n","\n","\r"], ['<',"
","
","
"], $content['mail_plaintext']); //$this->replaceEmailAdresses($content['mail_plaintext']); $content['body'] = $content['mail_plaintext']; unset($content['mail_plaintext']);