mirror of
https://github.com/friendica/friendica
synced 2025-04-23 03:10:12 +00:00
plugin hooks for bbcode conversions
This commit is contained in:
parent
fd71d19463
commit
279469ab35
3 changed files with 14 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue