mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 03:24:20 +02:00
Added more missing data from page vars. Precaution for if mb_convert_encoding() is missing. TinyMce member template added.
This commit is contained in:
@@ -4157,8 +4157,11 @@ return;
|
||||
$doc = $this->domObj;
|
||||
libxml_use_internal_errors(true);
|
||||
// @$doc->loadHTML($html);
|
||||
$html = mb_convert_encoding($html, 'HTML-ENTITIES', "UTF-8");
|
||||
@$doc->loadHTML($html);
|
||||
if(function_exists('mb_convert_encoding'))
|
||||
{
|
||||
$html = mb_convert_encoding($html, 'HTML-ENTITIES', "UTF-8");
|
||||
}
|
||||
@$doc->loadHTML($html);
|
||||
// $doc->encoding = 'UTF-8';
|
||||
|
||||
// $doc->resolveExternals = true;
|
||||
|
Reference in New Issue
Block a user