From: jitendrapurohit Date: Mon, 6 Apr 2015 09:22:37 +0000 (+0530) Subject: Line breaks in memo fields are not displayed fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=93758457e2615cbe306ef74ab5c7b4b5f326060a;p=civicrm-core.git Line breaks in memo fields are not displayed fix --- diff --git a/templates/CRM/Contact/Page/View/CustomDataFieldView.tpl b/templates/CRM/Contact/Page/View/CustomDataFieldView.tpl index aaf64eba18..4ba1086bcd 100644 --- a/templates/CRM/Contact/Page/View/CustomDataFieldView.tpl +++ b/templates/CRM/Contact/Page/View/CustomDataFieldView.tpl @@ -61,6 +61,8 @@
{$element.field_value}
+ {elseif $element.field_data_type EQ 'Memo'} +
{$element.field_value|nl2br}
{else}
{$element.field_value}
{/if}