$date .= ($element->getAttribute('timeformat')) ? " $time" : '';
$el['html'] = $date . '<input type="hidden" value="' . $element->getValue() . '" name="' . $element->getAttribute('name') . '">';
}
-
- $el['html'] = '<span class="crm-frozen-field">' . $el['html'] . '</span>';
+ if ($el['name'] == 'details'){
+ $el['html'] = str_replace('<br />', '', $el['html']);
+ $el['html'] = '<span class="crm-frozen-field">' . html_entity_decode($el['html']) . '</span>';
+ }else{
+ $el['html'] = '<span class="crm-frozen-field">' . $el['html'] . '</span>';
+ }
}
// Active form elements
else {