MDL-25018 stop html_to_text from breaking utf-8 multibyte characters.
This commit is contained in:
+2
-4
@@ -580,9 +580,7 @@ class html2text
|
||||
*/
|
||||
function _strtoupper($str)
|
||||
{
|
||||
if (function_exists('mb_strtoupper'))
|
||||
return mb_strtoupper($str);
|
||||
else
|
||||
return strtoupper($str);
|
||||
$tl = textlib_get_instance();
|
||||
return $tl->strtoupper($str);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user