diff options
Diffstat (limited to 'lib/smarty3/plugins/shared.escape_special_chars.php')
-rw-r--r-- | lib/smarty3/plugins/shared.escape_special_chars.php | 8 |
1 files changed, 3 insertions, 5 deletions
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<br> + * Function: smarty_function_escape_special_chars * Purpose: used by other smarty functions to escape * special chars except for already escaped ones * - * @author Monte Ohrt <monte at ohrt dot com> + * @author Monte Ohrt <monte at ohrt dot com> * - * @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; } |