diff options
author | friendica <info@friendica.com> | 2012-06-25 20:55:27 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-06-25 20:55:27 -0700 |
commit | fbaca4b74237c80c380d6ccf2bdddeec5ad4f013 (patch) | |
tree | ca1ca05c84f8bd17acab9749b674d3b23fdcd2a5 /include/bbcode.php | |
parent | 53f0aee82d61b7d61fb2271eb7f41cacc2eaf8f3 (diff) | |
download | volse-hubzilla-fbaca4b74237c80c380d6ccf2bdddeec5ad4f013.tar.gz volse-hubzilla-fbaca4b74237c80c380d6ccf2bdddeec5ad4f013.tar.bz2 volse-hubzilla-fbaca4b74237c80c380d6ccf2bdddeec5ad4f013.zip |
event summary/title
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 e219d5383..effdd0be8 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -301,6 +301,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { if(x($ev,'desc') && x($ev,'start')) { $sub = format_event_html($ev); + $Text = preg_replace("/\[event\-summary\](.*?)\[\/event\-summary\]/ism",'',$Text); $Text = preg_replace("/\[event\-description\](.*?)\[\/event\-description\]/ism",$sub,$Text); $Text = preg_replace("/\[event\-start\](.*?)\[\/event\-start\]/ism",'',$Text); $Text = preg_replace("/\[event\-finish\](.*?)\[\/event\-finish\]/ism",'',$Text); |