From fb2e1cccbd9c30d96ef4e5ea9807a4fc5e52af7b Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Sat, 20 Nov 2021 09:07:28 +0100 Subject: [PATCH] Reword, precision --- galette/includes/smarty_plugins/function._T.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galette/includes/smarty_plugins/function._T.php b/galette/includes/smarty_plugins/function._T.php index c268ce3ce..fcae8e095 100644 --- a/galette/includes/smarty_plugins/function._T.php +++ b/galette/includes/smarty_plugins/function._T.php @@ -92,9 +92,9 @@ function smarty_function__T($params, &$smarty) } if (isset($escape)) { - //replace insecable spaces + //replace unbreakable spaces $ret = str_replace(' ', ' ', $ret); - //for the moment, only 'js' type is know + //for the moment, only 'javascript' type is know. 'js' can also be found in legacy code $ret = htmlspecialchars($ret, ENT_QUOTES, 'UTF-8'); } -- 2.39.2