aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-03-12 22:03:47 +0000
committerMario <mario@mariovavti.com>2023-03-12 22:03:47 +0000
commit63a861157993e78e85df10b8dc8292be5d24f5d1 (patch)
tree40e9f974d6b48da21034a912a163a2626870b7f6 /include
parent38a1b791749a9cd8142e820231f84c4aee67998e (diff)
downloadvolse-hubzilla-63a861157993e78e85df10b8dc8292be5d24f5d1.tar.gz
volse-hubzilla-63a861157993e78e85df10b8dc8292be5d24f5d1.tar.bz2
volse-hubzilla-63a861157993e78e85df10b8dc8292be5d24f5d1.zip
fix issue #1728
Diffstat (limited to 'include')
-rw-r--r--include/event.php4
-rw-r--r--include/text.php1
2 files changed, 2 insertions, 3 deletions
diff --git a/include/event.php b/include/event.php
index b27504296..6273279c2 100644
--- a/include/event.php
+++ b/include/event.php
@@ -1389,8 +1389,8 @@ function event_store_item($arr, $event) {
// 'summary' => bbcode($arr['summary']),
// RFC3339 Section 4.3
'startTime' => (($arr['adjust']) ? datetime_convert('UTC', 'UTC', $arr['dtstart'], ATOM_TIME) : datetime_convert('UTC', 'UTC', $arr['dtstart'], 'Y-m-d\\TH:i:s-00:00')),
- 'content' => bbcode($arr['description']),
- 'location' => [ 'type' => 'Place', 'name' => bbcode($arr['location']) ],
+ 'content' => $arr['description'],
+ 'location' => [ 'type' => 'Place', 'name' => $arr['location'] ],
'source' => [ 'content' => format_event_bbcode($arr), 'mediaType' => 'text/bbcode' ],
'url' => [ [ 'mediaType' => 'text/calendar', 'href' => z_root() . '/events/ical/' . $event['event_hash'] ] ],
'actor' => Activity::encode_person($z, false),
diff --git a/include/text.php b/include/text.php
index 5dc894d11..705147e93 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1795,7 +1795,6 @@ function prepare_body(&$item,$attach = false,$opts = false) {
}
$event = (($item['obj_type'] === ACTIVITY_OBJ_EVENT) ? format_event_obj($item['obj']) : []);
-
$prep_arr = [
'item' => $item,
'html' => $event ? $event['content'] : $s,