diff options
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 1f5a65399..9ec5ce22f 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -954,3 +954,8 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true) { return $Text; } + + +function strip_bbimage($s) { + $Text = preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $Text); +}
\ No newline at end of file |