diff --git a/include/event.php b/include/event.php index 8e69250d3..d52575ade 100644 --- a/include/event.php +++ b/include/event.php @@ -138,7 +138,7 @@ function format_event_obj($jobject) ]); $event['content'] = replace_macros(Theme::get_template('event_item_content.tpl'), [ - '$description' => (($title) ? '' . $title . '' : '') . $object['content'], + '$description' => (($title) ? '' . $title . '
' : '') . $object['content'], '$location_label' => t('Location:'), '$location' => ((array_path_exists('location/content', $object)) ? zidify_links(smilies(bbcode($object['location']['content']))) : EMPTY_STR) ]); diff --git a/view/tpl/event_item_content.tpl b/view/tpl/event_item_content.tpl index 76e0f4616..eb2405d52 100644 --- a/view/tpl/event_item_content.tpl +++ b/view/tpl/event_item_content.tpl @@ -1,7 +1,7 @@ {{if $description}} -
+
{{$description}} -
+
{{/if}} {{if $location}}