From 4ee9e1fab889ab49404ca1fb92c5449be6925276 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 24 Nov 2021 11:53:21 +1300 Subject: [PATCH] Do not use default escaping on address display This has vcard html in it and so breaks if default escaping is enabled --- templates/CRM/Contact/Page/Inline/Address.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Page/Inline/Address.tpl b/templates/CRM/Contact/Page/Inline/Address.tpl index 8861f0ba0f..453d330884 100644 --- a/templates/CRM/Contact/Page/Inline/Address.tpl +++ b/templates/CRM/Contact/Page/Inline/Address.tpl @@ -38,7 +38,7 @@ {if !empty($sharedAddresses.$locationIndex.shared_address_display.name)} {ts 1=$sharedAddresses.$locationIndex.shared_address_display.name}Address belongs to %1{/ts}
{/if} - {$add.display|nl2br} + {$add.display|smarty:nodefaults|purify|nl2br} -- 2.25.1