dev/core#379 Activity View: only nl2br Inbound Email.
authorMathieu Lutfy <mathieu@bidon.ca>
Wed, 5 Sep 2018 15:01:09 +0000 (11:01 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Wed, 5 Sep 2018 15:01:09 +0000 (11:01 -0400)
templates/CRM/Activity/Form/Activity.tpl

index 689bdf5db2cae7f3b86dca45fc50bcccd216a6a7..766e17cf1b3f2e76d989d4737a2ca6d8219d15af 100644 (file)
       <td class="view-value">
       {$form.details.html}
       </td>
-      {else}
+    {elseif $activityTypeName eq "Inbound Email"}
       <td class="view-value">
        {$form.details.html|crmStripAlternatives|nl2br}
       </td>
+    {else}
+      <td class="view-value">
+       {$form.details.html|crmStripAlternatives}
+      </td>
     {/if}
   </tr>
   <tr class="crm-activity-form-block-priority_id">