mirror of
https://github.com/friendica/friendica
synced 2025-04-25 00:30:32 +00:00
event summary/title
This commit is contained in:
parent
53f0aee82d
commit
fbaca4b742
9 changed files with 58 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue