mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 07:36:32 +02:00
Removed unnecessary conversion from within cleanHtml()
This commit is contained in:
@@ -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("/<body/i",$html)!==true) // HTML Fragment
|
||||
{
|
||||
|
Reference in New Issue
Block a user