diff --git a/application/hooks/gettext/vendor/php-gettext/gettext.php b/application/hooks/gettext/vendor/php-gettext/gettext.php index abde1b7f7..22fae16dd 100644 --- a/application/hooks/gettext/vendor/php-gettext/gettext.php +++ b/application/hooks/gettext/vendor/php-gettext/gettext.php @@ -211,7 +211,7 @@ function _encode($text) if ($source_encoding != $target_encoding) $text = mb_convert_encoding($text, $target_encoding, $source_encoding); } - return $text; + return htmlentities($text); } // Custom implementation of the standard gettext related functions