X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fbbcode.php;h=81536d37200fdd5083a38685c306282856f8d0cb;hb=25c0c5d4ad9e155dd5329e197c7a19212d20b578;hp=2fcf6c3247a572a8404b78c97716799465427fc9;hpb=1f0b759e2f6df7af4bc55571168bad3e3acbcd76;p=friendica.git diff --git a/include/bbcode.php b/include/bbcode.php index 2fcf6c3247..81536d3720 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -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);