forked from extern/egroupware
converting plain-text mail to html mistakes angle brackets for tags
This commit is contained in:
parent
e72e628c81
commit
70d571f8bf
@ -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("<br>","<br>","<br>"),$content['mail_plaintext']);
|
||||
$content['mail_plaintext'] = str_replace(['<',"\r\n","\n","\r"], ['<',"<br>","<br>","<br>"], $content['mail_plaintext']);
|
||||
//$this->replaceEmailAdresses($content['mail_plaintext']);
|
||||
$content['body'] = $content['mail_plaintext'];
|
||||
unset($content['mail_plaintext']);
|
||||
|
Loading…
Reference in New Issue
Block a user