use Friendica\Util\DateTimeFormat;
use Friendica\Util\Map;
-require_once 'include/bbcode.php';
require_once 'include/conversation.php';
function format_event_html($ev, $simple = false) {
if ($simple) {
$o = "<h3>" . BBCode::convert($ev['summary']) . "</h3>";
- $o .= "<div>" . BBCode::convert($ev['desc']) . "</div>";
+ $o .= "<p>" . BBCode::convert($ev['desc']) . "</p>";
$o .= "<h4>" . L10n::t('Starts:') . "</h4><p>" . $event_start . "</p>";
}
if (strlen($ev['location'])) {
- $o .= "<h4>" . L10n::t('Location:') . "</h4><p>" . $ev['location'] . "</p>";
+ $o .= "<h4>" . L10n::t('Location:') . "</h4><p>" . BBCode::convert($ev['location']) . "</p>";
}
return $o;
function event_store($arr) {
require_once 'include/items.php';
- require_once 'include/bbcode.php';
$a = get_app();