diff --git a/libs/plugins/modifier.strip_tags.php b/libs/plugins/modifier.strip_tags.php index 28cf48a4..46a3d384 100644 --- a/libs/plugins/modifier.strip_tags.php +++ b/libs/plugins/modifier.strip_tags.php @@ -8,12 +8,12 @@ * Purpose: strip html tags from text * ------------------------------------------------------------- */ -function smarty_modifier_strip_tags($string, $replace_with_space = true, $allowed = "
") +function smarty_modifier_strip_tags($string, $replace_with_space = true) { if ($replace_with_space) return preg_replace('!<[^>]*?>!', ' ', $string); else - return strip_tags($string, $allowed); + return strip_tags($string); } /* vim: set expandtab: */ diff --git a/plugins/modifier.strip_tags.php b/plugins/modifier.strip_tags.php index 28cf48a4..46a3d384 100644 --- a/plugins/modifier.strip_tags.php +++ b/plugins/modifier.strip_tags.php @@ -8,12 +8,12 @@ * Purpose: strip html tags from text * ------------------------------------------------------------- */ -function smarty_modifier_strip_tags($string, $replace_with_space = true, $allowed = "
") +function smarty_modifier_strip_tags($string, $replace_with_space = true) { if ($replace_with_space) return preg_replace('!<[^>]*?>!', ' ', $string); else - return strip_tags($string, $allowed); + return strip_tags($string); } /* vim: set expandtab: */