mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:50:11 +00:00
Events on Diaspora now looking okay.
This commit is contained in:
parent
2070c96dd1
commit
8395f67351
2 changed files with 30 additions and 12 deletions
|
@ -1210,7 +1210,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal
|
|||
// start which is always required). Allow desc with a missing summary for compatibility.
|
||||
|
||||
if((x($ev,'desc') || x($ev,'summary')) && x($ev,'start')) {
|
||||
$sub = format_event_html($ev);
|
||||
$sub = format_event_html($ev, $simplehtml);
|
||||
|
||||
$Text = preg_replace("/\[event\-summary\](.*?)\[\/event\-summary\]/ism",'',$Text);
|
||||
$Text = preg_replace("/\[event\-description\](.*?)\[\/event\-description\]/ism",'',$Text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue