From d70f166069d168be1c7838cf4be11d624bd35f1d Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Fri, 5 Sep 2014 18:46:55 -0400 Subject: [PATCH] CRM-15246: in templates/CRM/Core/Calendar/Rss.tpl, escape special chars using 'html' instead of 'htmlall', which breaks non-usascii characters in the RSS feed. --- templates/CRM/Core/Calendar/Rss.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/CRM/Core/Calendar/Rss.tpl b/templates/CRM/Core/Calendar/Rss.tpl index 34e79f9c5a..3ec04d8bcb 100644 --- a/templates/CRM/Core/Calendar/Rss.tpl +++ b/templates/CRM/Core/Calendar/Rss.tpl @@ -34,12 +34,12 @@ http://blogs.law.harvard.edu/tech/rss {foreach from=$events key=uid item=event} -{$event.title|escape:'htmlall'} +{$event.title|escape:'html'} {crmURL p='civicrm/event/info' q="reset=1&id=`$event.event_id`" fe=1 a=1} -{if $event.summary}{$event.summary|escape:'htmlall'} +{if $event.summary}{$event.summary|escape:'html'} {/if} -{if $event.description}{$event.description|escape:'htmlall'} +{if $event.description}{$event.description|escape:'html'} {/if} {if $event.start_date}{ts}When{/ts}: {$event.start_date|crmDate}{if $event.end_date} {ts}through{/ts} {strip} {* Only show end time if end date = start date *} @@ -50,10 +50,10 @@ {/if}{/strip} {/if} {/if} -{if $event.is_show_location EQ 1 && $event.location}{ts}Where{/ts}: {$event.location|escape:'htmlall'} +{if $event.is_show_location EQ 1 && $event.location}{ts}Where{/ts}: {$event.location|escape:'html'} {/if} -{if $event.event_type}{$event.event_type|escape:'htmlall'} +{if $event.event_type}{$event.event_type|escape:'html'} {/if} {if $event.contact_email}{$event.contact_email} {/if} -- 2.25.1