aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/object/event_calendar.php6
-rw-r--r--views/rss/object/event_calendar.php1
2 files changed, 4 insertions, 3 deletions
diff --git a/views/default/object/event_calendar.php b/views/default/object/event_calendar.php
index 5779c004c..17f7ff130 100644
--- a/views/default/object/event_calendar.php
+++ b/views/default/object/event_calendar.php
@@ -55,9 +55,9 @@ if ($full) {
echo $list_body;
echo $body;
if ($event->long_description) {
- echo '<p>'.$event->long_description.'</p>';
+ echo '<div class="elgg-output">'.$event->long_description.'</div>';
} else {
- echo '<p>'.$event->description.'</p>';
+ echo '<div class="elgg-output">'.$event->description.'</div>';
}
if ($vars['light_box'] == TRUE) {
$event_calendar_add_users = elgg_get_plugin_setting('add_users', 'event_calendar');
@@ -112,4 +112,4 @@ if ($full) {
echo elgg_view_image_block($icon, $list_body);
}
-?> \ No newline at end of file
+?>
diff --git a/views/rss/object/event_calendar.php b/views/rss/object/event_calendar.php
index 92f6fcc14..45b2d847a 100644
--- a/views/rss/object/event_calendar.php
+++ b/views/rss/object/event_calendar.php
@@ -11,6 +11,7 @@
* @link http://elgg.org/
*/
+ elgg_load_library('elgg:event_calendar');
$title = $vars['entity']->title;
$event_items = event_calendar_get_formatted_full_items($vars['entity']);