X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FAPI%2FHTMLInputCoder.php;h=498d606e3e5a49f14d7210bb8245fbed10145aeb;hb=f17ea5d9ab05d5c41d9d9dd1a30d73fcef0e4938;hp=91df1ac52222ebd7af4acd71941963d7c6bf218f;hpb=a6491ceec03e64e45e127222ae268187c652f5b7;p=civicrm-core.git diff --git a/CRM/Utils/API/HTMLInputCoder.php b/CRM/Utils/API/HTMLInputCoder.php index 91df1ac522..498d606e3e 100644 --- a/CRM/Utils/API/HTMLInputCoder.php +++ b/CRM/Utils/API/HTMLInputCoder.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2019 | + | Copyright CiviCRM LLC (c) 2004-2020 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -35,7 +35,7 @@ * escaping scheme and consequently remove HTMLInputCoder. * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2019 + * @copyright CiviCRM LLC (c) 2004-2020 */ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { private $skipFields = NULL; @@ -97,19 +97,30 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { 'honor_block_text', 'pay_later_text', 'pay_later_receipt', - 'label', // This is needed for FROM Email Address configuration. dgg - 'url', // This is needed for navigation items urls + // This is needed for FROM Email Address configuration. dgg + 'label', + // This is needed for navigation items urls + 'url', 'details', - 'msg_text', // message templates’ text versions - 'text_message', // (send an) email to contact’s and CiviMail’s text version - 'data', // data i/p of persistent table - 'sqlQuery', // CRM-6673 + // message templates’ text versions + 'msg_text', + // (send an) email to contact’s and CiviMail’s text version + 'text_message', + // data i/p of persistent table + 'data', + // CRM-6673 + 'sqlQuery', 'pcp_title', 'pcp_intro_text', - 'new', // The 'new' text in word replacements - 'replyto_email', // e.g. '"Full Name" ' + // The 'new' text in word replacements + 'new', + // e.g. '"Full Name" ' + 'replyto_email', 'operator', - 'content', // CRM-20468 + // CRM-20468 + 'content', + // CiviCampaign Goal Details + 'goal_general', ]; $custom = CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_custom_field WHERE html_type = "RichTextEditor"'); while ($custom->fetch()) {