From 0781de61dc7101823f337044fc8ee1d17e6f7684 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 28 Oct 2015 09:02:38 +0000 Subject: [PATCH] do NOT remove LF from html mails, as they can appear inside
 tags and are necessary there (everything is on one line otherwise)

---
 emailadmin/inc/class.emailadmin_imapbase.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emailadmin/inc/class.emailadmin_imapbase.inc.php b/emailadmin/inc/class.emailadmin_imapbase.inc.php
index d3266b3eff..9af9e8e2fb 100644
--- a/emailadmin/inc/class.emailadmin_imapbase.inc.php
+++ b/emailadmin/inc/class.emailadmin_imapbase.inc.php
@@ -4050,7 +4050,7 @@ class emailadmin_imapbase
 		);
 		$_html = preg_replace($search,"",$_html);
 		// remove non printable chars
-		$_html = preg_replace('/([\000-\012])/','',$_html);
+		$_html = preg_replace('/([\000-\011])/','',$_html);
 		//error_log(__METHOD__.':'.__LINE__.':'.$_html);
 	}