diff options
author | Urban Müller | 2024-02-16 16:00:45 +0100 |
---|---|---|
committer | Urban Müller | 2024-02-16 16:00:45 +0100 |
commit | 19a29ba848ac66fedbbb7059df09f93675e48a26 (patch) | |
tree | ca69bfe2e3e1548e28b96ef5abed86ecfa687175 /auto_prepend.php | |
parent | 9fd68c13a7cbd26c3eacbba42d7e5418d88ff40a (diff) | |
download | itools-19a29ba848ac66fedbbb7059df09f93675e48a26.tar.gz itools-19a29ba848ac66fedbbb7059df09f93675e48a26.tar.bz2 itools-19a29ba848ac66fedbbb7059df09f93675e48a26.zip |
with EDC(text), no need to mark using html the values in T(), they are guaranteed safe. fixes validation when values inserted into non-html places like href=
Diffstat (limited to 'auto_prepend.php')
-rw-r--r-- | auto_prepend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_prepend.php b/auto_prepend.php index d961a7b..2becb66 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -74,7 +74,7 @@ function T($label, $language = null, $values = null) if (is_array($language)) # Need to swap params? list($language, $values) = array($values, $language); - return $GLOBALS['it_text']->etext($label, array_map(array("it_html", "Q"), (array)$values), $language); + return $GLOBALS['it_text']->etext($label, array_map(array("it_html", "Q"), (array)$values), $language, false); } /** |