Remove redundant trim()

pull/6454/head
Aleksander Machniak 6 years ago
parent a8542e9c08
commit 4310046993

@ -615,7 +615,7 @@ class rcube_washtml
'<html>',
);
$html = preg_replace($html_search, $html_replace, trim($html));
$html = preg_replace($html_search, $html_replace, $html);
$err = array('line' => __LINE__, 'file' => __FILE__, 'message' => "Could not clean up HTML!");
if ($html === null && rcube_utils::preg_error($err)) {

Loading…
Cancel
Save