aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 3e942f4a5..6a58475d0 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -516,6 +516,9 @@ function bb_fixtable_lf($match) {
function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false) {
+
+ call_hooks('bbcode_filter', $Text);
+
// Hide all [noparse] contained bbtags by spacefying them
if (strpos($Text,'[noparse]') !== false) {
$Text = preg_replace_callback("/\[noparse\](.*?)\[\/noparse\]/ism", 'bb_spacefy',$Text);