diff options
author | Friendika <info@friendika.com> | 2010-12-30 14:21:05 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-30 14:21:05 -0800 |
commit | 279469ab35596097e7942e7c2377bc50967ee953 (patch) | |
tree | f76e72aefaff4344e56673d761ecc3ad26111903 /include/html2bbcode.php | |
parent | fd71d194636c0ebdf612597f56ae70fe79aecf9f (diff) | |
download | volse-hubzilla-279469ab35596097e7942e7c2377bc50967ee953.tar.gz volse-hubzilla-279469ab35596097e7942e7c2377bc50967ee953.tar.bz2 volse-hubzilla-279469ab35596097e7942e7c2377bc50967ee953.zip |
plugin hooks for bbcode conversions
Diffstat (limited to 'include/html2bbcode.php')
-rw-r--r-- | include/html2bbcode.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php index a2e53a81b..1f3d63a0d 100644 --- a/include/html2bbcode.php +++ b/include/html2bbcode.php @@ -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; |