diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-05 14:47:20 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-05 14:47:20 -0800 |
commit | c533c62c640cf081c44bf0489680ee3be3e45ecb (patch) | |
tree | 7b23c066856ad4531652fc162f9527d556a6b19f /include/bbcode.php | |
parent | 384db9d10dbded64e83564daa4c51dac05674a2b (diff) | |
download | volse-hubzilla-c533c62c640cf081c44bf0489680ee3be3e45ecb.tar.gz volse-hubzilla-c533c62c640cf081c44bf0489680ee3be3e45ecb.tar.bz2 volse-hubzilla-c533c62c640cf081c44bf0489680ee3be3e45ecb.zip |
some event work
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index c0033f280..5aa61760f 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -1174,6 +1174,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false) $Text = preg_replace("/\[event\-start\](.*?)\[\/event\-start\]/ism",$sub,$Text); + $Text = preg_replace("/\event\](.*?)\[\/event\]/ism",'',$Text); $Text = preg_replace("/\[event\-summary\](.*?)\[\/event\-summary\]/ism",'',$Text); $Text = preg_replace("/\[event\-description\](.*?)\[\/event\-description\]/ism",'',$Text); $Text = preg_replace("/\[event\-finish\](.*?)\[\/event\-finish\]/ism",'',$Text); |