mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fix for non Latin characters in textareas
Fixing and issue with non Latin characters breaking in textareas if html tags are used
This commit is contained in:
parent
9f96a70e76
commit
c6bfc97dc7
@ -4139,7 +4139,7 @@ return;
|
||||
// libxml_use_internal_errors(true); // hides errors.
|
||||
$doc = $this->domObj;
|
||||
libxml_use_internal_errors(true);
|
||||
@$doc->loadHTML($html);
|
||||
@$doc->loadHTML($html, 'HTML-ENTITIES', 'UTF-8');
|
||||
// $doc->encoding = 'UTF-8';
|
||||
|
||||
// $doc->resolveExternals = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user