Skip to content

Commit

Permalink
Skip html encoding rich-text fields
Browse files Browse the repository at this point in the history
  • Loading branch information
colemanw committed Sep 19, 2018
1 parent cc38fb8 commit ece8de2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Utils/API/HTMLInputCoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ public function getSkipFields() {
'operator',
'content', // CRM-20468
);
$custom = CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_custom_field WHERE html_type = "RichTextEditor"');
while ($custom->fetch()) {
$this->skipFields[] = 'custom_' . $custom->id;
}
}
return $this->skipFields;
}
Expand Down

0 comments on commit ece8de2

Please sign in to comment.