10 * Smarty strip_tags modifier plugin
13 * Name: strip_tags<br>
14 * Purpose: strip html tags from text
15 * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php
16 * strip_tags (Smarty online manual)
21 function smarty_modifier_strip_tags($string, $replace_with_space = true)
23 if ($replace_with_space)
24 return preg_replace('!<[^>]*?>!', ' ', $string);
26 return strip_tags($string);
29 /* vim: set expandtab: */
This page took 0.741176 seconds and 4 git commands to generate.