Merge branch 'master' of https://github.com/redmatrix/redmatrix
This commit is contained in:
@@ -1008,5 +1008,5 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
|
||||
|
||||
|
||||
function strip_bbimage($s) {
|
||||
$Text = preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $Text);
|
||||
return preg_replace("/\[[zi]mg(.*?)\](.*?)\[\/[zi]mg\]/ism", '', $s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user