/template_engines_bench/libs/smarty-light/src/plugins/modifier.strip_tags.php
PHP | 12 lines | 5 code | 0 blank | 7 comment | 0 complexity | 0aafedde68593eaae4c668502d4b0354 MD5 | raw file
Possible License(s): AGPL-1.0, LGPL-2.1
- <?php
- /**
- * Smarty-Light strip_tags modifier plugin
- *
- * Type: modifier
- * Name: strip_tags
- * Purpose: Wrapper for the PHP 'strip_tags' function
- */
- function tpl_modifier_strip_tags($string) {
- return strip_tags($string);
- }
- ?>