Skip to content
Snippets Groups Projects
Commit 5feb639f authored by Uma's avatar Uma
Browse files

Fixes #1438 Textarea fields data save

parent f0d76b05
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,9 @@ class Vtiger_Text_UIType extends Vtiger_Base_UIType {
if(in_array($this->get('field')->getFieldName(),array('signature','commentcontent'))) {
return $value;
}
if($removeTags){
$value = strip_tags($value,'<br>');
}
return nl2br(purifyHtmlEventAttributes($value, true));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment