mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fix htmlspecialchars() conflict
This commit is contained in:
@@ -47,8 +47,8 @@ function smarty_modifier_debug_print_var($var, $depth = 0, $length = 40)
|
||||
} else {
|
||||
$results = $var;
|
||||
}
|
||||
$results = preg_replace($_search, $_replace, $results);
|
||||
$results = htmlspecialchars($results);
|
||||
$results = preg_replace($_search, $_replace, $results);
|
||||
return $results;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user