diff options
| author | emkael <emkael@tlen.pl> | 2018-10-18 02:40:38 +0200 |
|---|---|---|
| committer | emkael <emkael@tlen.pl> | 2018-10-18 02:40:38 +0200 |
| commit | eab8a101e7a3fcbb41e01a574985e06c5a3775de (patch) | |
| tree | 60f201da5984b0c3638d10da02bba42b61aa3177 /lib/smarty3/plugins/shared.escape_special_chars.php | |
| parent | 7f38be342c1495aeca418286c15c25c18ac9e142 (diff) | |
Updating Smarty
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; } |
