Commit 864005df authored by Joseph Martin's avatar Joseph Martin

CRM-18270 Activity description not rendering html

parent b572ba7a
......@@ -125,8 +125,12 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty {
$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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment