From 19a29ba848ac66fedbbb7059df09f93675e48a26 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 16 Feb 2024 16:00:45 +0100 Subject: 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= --- auto_prepend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_prepend.php') 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); } /** -- cgit v1.2.3