From ee8432e6d8dbac8665542b32042aae99693cfd7b Mon Sep 17 00:00:00 2001 From: Herb Date: Tue, 27 May 2025 15:49:53 -0400 Subject: [PATCH 1/2] Issue #61: use updated crmICalText which can allow HTML --- templates/CRM/Activityical/snippet/Feed.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Activityical/snippet/Feed.tpl b/templates/CRM/Activityical/snippet/Feed.tpl index f9429d3..6280c3c 100644 --- a/templates/CRM/Activityical/snippet/Feed.tpl +++ b/templates/CRM/Activityical/snippet/Feed.tpl @@ -31,7 +31,7 @@ ORGANIZER:MAILTO:{$activity.contact_email|crmICalText} URL:{$activity.url} CONTACT;ALTREP={$base_url}/civicrm/contact/view?reset=1&cid={$activity.source_id}:{$activity.source_display_name} X-ALT-DESC;FMTTYPE=text/html: - {$activity.description|activityicalHtml} + {$activity.description||crmICalText:true:29} END:VEVENT {/foreach} END:VCALENDAR From 5aae1f3a333b1c39a374aeb8b9b3d1587c239d37 Mon Sep 17 00:00:00 2001 From: Herb Date: Tue, 27 May 2025 16:42:16 -0400 Subject: [PATCH 2/2] Update Feed.tpl --- templates/CRM/Activityical/snippet/Feed.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Activityical/snippet/Feed.tpl b/templates/CRM/Activityical/snippet/Feed.tpl index 6280c3c..2603d5e 100644 --- a/templates/CRM/Activityical/snippet/Feed.tpl +++ b/templates/CRM/Activityical/snippet/Feed.tpl @@ -31,7 +31,7 @@ ORGANIZER:MAILTO:{$activity.contact_email|crmICalText} URL:{$activity.url} CONTACT;ALTREP={$base_url}/civicrm/contact/view?reset=1&cid={$activity.source_id}:{$activity.source_display_name} X-ALT-DESC;FMTTYPE=text/html: - {$activity.description||crmICalText:true:29} + {$activity.description|crmICalText:true:29} END:VEVENT {/foreach} END:VCALENDAR