From eab8a101e7a3fcbb41e01a574985e06c5a3775de Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 18 Oct 2018 02:40:38 +0200 Subject: Updating Smarty --- lib/smarty3/plugins/shared.escape_special_chars.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/smarty3/plugins/shared.escape_special_chars.php') diff --git a/lib/smarty3/plugins/shared.escape_special_chars.php b/lib/smarty3/plugins/shared.escape_special_chars.php index b68fe4b..6b18d3e 100644 --- a/lib/smarty3/plugins/shared.escape_special_chars.php +++ b/lib/smarty3/plugins/shared.escape_special_chars.php @@ -5,16 +5,15 @@ * @package Smarty * @subpackage PluginsShared */ - /** * escape_special_chars common function - * Function: smarty_function_escape_special_chars
+ * Function: smarty_function_escape_special_chars * Purpose: used by other smarty functions to escape * special chars except for already escaped ones * - * @author Monte Ohrt + * @author Monte Ohrt * - * @param string $string text that should by escaped + * @param string $string text that should by escaped * * @return string */ @@ -29,6 +28,5 @@ function smarty_function_escape_special_chars($string) $string = str_replace(array('%%%SMARTY_START%%%', '%%%SMARTY_END%%%'), array('&', ';'), $string); } } - return $string; } -- cgit v1.2.3