plugin hooks for bbcode conversions

This commit is contained in:
Friendika 2010-12-30 14:21:05 -08:00
parent fd71d19463
commit 279469ab35
3 changed files with 14 additions and 1 deletions

View file

@ -44,6 +44,8 @@ $bbtags = array(
// Replace $htmltags in $text with $bbtags
$text = preg_replace ($htmltags, $bbtags, $s);
call_hooks('html2bbcode', $text);
// Strip all other HTML tags
$text = strip_tags($text);
return $text;