From: Mathieu Lutfy Date: Wed, 5 Sep 2018 15:01:09 +0000 (-0400) Subject: dev/core#379 Activity View: only nl2br Inbound Email. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de8ce74e9d84200c760043806b93431a58241c7a;p=civicrm-core.git dev/core#379 Activity View: only nl2br Inbound Email. --- diff --git a/templates/CRM/Activity/Form/Activity.tpl b/templates/CRM/Activity/Form/Activity.tpl index 689bdf5db2..766e17cf1b 100644 --- a/templates/CRM/Activity/Form/Activity.tpl +++ b/templates/CRM/Activity/Form/Activity.tpl @@ -156,10 +156,14 @@ {$form.details.html} - {else} + {elseif $activityTypeName eq "Inbound Email"} {$form.details.html|crmStripAlternatives|nl2br} + {else} + + {$form.details.html|crmStripAlternatives} + {/if}