mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Replaced html_entity_decode with Api\Translation::convert
This commit is contained in:
parent
be212f908c
commit
5c3a4fe6ce
@ -403,7 +403,7 @@ class Html
|
||||
$_html = str_replace('#lower#than#','<',$_html);
|
||||
$_html = str_replace('#greater#than#','>',$_html);
|
||||
//error_log(__METHOD__.__LINE__.' Charset:'.$displayCharset.' -> '.$_html);
|
||||
$_html = html_entity_decode($_html, ENT_COMPAT, $displayCharset);
|
||||
$_html = Api\Translation::convert($_html, $displayCharset, 'utf-8');
|
||||
//error_log(__METHOD__.__LINE__.' Charset:'.$displayCharset.' After html_entity_decode: -> '.$_html);
|
||||
//self::replaceEmailAdresses($_html);
|
||||
$pos = strpos($_html, 'blockquote');
|
||||
|
Loading…
Reference in New Issue
Block a user