]> git.agnieray.net Git - galette.git/commitdiff
Reword, precision
authorJohan Cwiklinski <johan@x-tnd.be>
Sat, 20 Nov 2021 08:07:28 +0000 (09:07 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sat, 20 Nov 2021 08:11:31 +0000 (09:11 +0100)
galette/includes/smarty_plugins/function._T.php

index c268ce3ce671ca82810e0fbbb6ced5c2e6f9e690..fcae8e095fef997e172a7c2df754f2fd8e3a6bdb 100644 (file)
@@ -92,9 +92,9 @@ function smarty_function__T($params, &$smarty)
     }
 
     if (isset($escape)) {
-        //replace insecable spaces
+        //replace unbreakable spaces
         $ret = str_replace('&nbsp;', ' ', $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');
     }