From edc4d8e784fc4701f6f3b7cdf765035798c91d44 Mon Sep 17 00:00:00 2001 From: Michael McAndrew Date: Fri, 17 Jan 2020 12:19:19 +0000 Subject: [PATCH] lab-1286 - skip report instance header and footer in CRM_Utils_API_HTMLInputCoder --- CRM/Utils/API/HTMLInputCoder.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Utils/API/HTMLInputCoder.php b/CRM/Utils/API/HTMLInputCoder.php index adf528920c..fa5de2b964 100644 --- a/CRM/Utils/API/HTMLInputCoder.php +++ b/CRM/Utils/API/HTMLInputCoder.php @@ -105,6 +105,10 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { 'content', // CiviCampaign Goal Details 'goal_general', + // https://lab.civicrm.org/dev/core/issues/1286 + 'header', + // https://lab.civicrm.org/dev/core/issues/1286 + 'footer', ]; $custom = CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_custom_field WHERE html_type = "RichTextEditor"'); while ($custom->fetch()) { -- 2.25.1