aboutsummaryrefslogtreecommitdiffstats
path: root/include/html2bbcode.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-30 14:21:05 -0800
committerFriendika <info@friendika.com>2010-12-30 14:21:05 -0800
commit279469ab35596097e7942e7c2377bc50967ee953 (patch)
treef76e72aefaff4344e56673d761ecc3ad26111903 /include/html2bbcode.php
parentfd71d194636c0ebdf612597f56ae70fe79aecf9f (diff)
downloadvolse-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.php2
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;