From f358cdf8564e081c149f8b5bad2f2dd90ef01f75 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 11 Apr 2015 16:56:46 -0700 Subject: [PATCH] Removed unnecessary conversion from within cleanHtml() --- e107_handlers/e_parse_class.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 278c3b184..9fe80c6f4 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -3424,12 +3424,7 @@ return; { if(empty($html)){ return ''; } - - $html = mb_convert_encoding($html, 'UTF-8'); - - // $html = mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'); - - $html = str_replace (' ', '@nbsp;', $html); // prevent replacement of   with spaces. + $html = str_replace(' ', '@nbsp;', $html); // prevent replacement of   with spaces. if(preg_match("/