do NOT remove LF from html mails, as they can appear inside <pre> tags and are necessary there (everything is on one line otherwise)

This commit is contained in:
Ralf Becker 2015-10-28 09:02:38 +00:00
parent e3749bec9d
commit 0781de61dc

View File

@ -4050,7 +4050,7 @@ class emailadmin_imapbase
); );
$_html = preg_replace($search,"",$_html); $_html = preg_replace($search,"",$_html);
// remove non printable chars // remove non printable chars
$_html = preg_replace('/([\000-\012])/','',$_html); $_html = preg_replace('/([\000-\011])/','',$_html);
//error_log(__METHOD__.':'.__LINE__.':'.$_html); //error_log(__METHOD__.':'.__LINE__.':'.$_html);
} }