diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index a3fcba05bf..7a26604673 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3509,12 +3509,6 @@ $filter['before']= date("d-M-Y", $cutoffdate2); } else { - // htmLawed filter only the 'body' - if (preg_match('`(]*>)(.+?)(.*?)`ims', $newBody, $matches)&& !empty($matches[2])) - { - $hasOther = true; - $newBody = $matches[2]; - } $htmLawed = new Api\Html\HtmLawed(); // the next line should not be needed, but produces better results on HTML 2 Text conversion, // as we switched off HTMLaweds tidy functionality