Fixes in escape function
This commit is contained in:
parent
e2faef3401
commit
58f8594606
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue