diff options
Diffstat (limited to 'ratatoeskr/sys/translation.php')
-rw-r--r-- | ratatoeskr/sys/translation.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ratatoeskr/sys/translation.php b/ratatoeskr/sys/translation.php index fd494c1..0679ca7 100644 --- a/ratatoeskr/sys/translation.php +++ b/ratatoeskr/sys/translation.php @@ -9,6 +9,8 @@ * See "ratatoeskr/licenses/ratatoeskr" for more information. */ +use r7r\cms\sys\Esc; + require_once(dirname(__FILE__) . "/utils.php"); require_once(dirname(__FILE__) . "/init_ste.php"); @@ -28,7 +30,7 @@ if (!defined("TRANSLATION_PLUGIN_LOADED")) { return ""; } $rv = $translation[$params["for"]]; - return (!empty($params["raw"])) ? $rv : htmlesc($rv); + return (!empty($params["raw"])) ? $rv : Esc::esc($rv); } ); define("TRANSLATION_PLUGIN_LOADED", true); |