Fixes in escape function

This commit is contained in:
absurdo 2023-05-11 19:15:42 +02:00
parent e2faef3401
commit 58f8594606

View file

@ -318,7 +318,7 @@ class View {
//Load function from loaded view with his parameters //Load function from loaded view with his parameters
//array_unshift($arr_template_values, $this); //array_unshift($arr_template_values, $this);
call_user_func_array($func_view, $arr_template_values); call_user_func_array($func_view, $arr_template_values);
$out_template=ob_get_contents(); $out_template=ob_get_contents();
@ -776,7 +776,7 @@ class View {
static public function e($text) static public function e($text)
{ {
$text=htmlspecialchars($text); $text=htmlspecialchars($text, ENT_QUOTES, 'UTF-8'));
return $text; return $text;