/framework/vendor/smarty2/plugins/prefilter.strip_html.php
PHP | 7 lines | 7 code | 0 blank | 0 comment | 0 complexity | 40fc51d06529f12e0d35526df251df4a MD5 | raw file
1<? 2function smarty_prefilter_strip_html($tpl_source, &$smarty) 3{ 4 $source = ereg_replace('{(\$[^|}]*)}','{\\1|escape:"html"}',$tpl_source); 5 return $source; 6} 7?>