mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
plugin hooks for bbcode conversions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user