diff --git a/CRM/Admin/Form/DonrecProfile.php b/CRM/Admin/Form/DonrecProfile.php index 36e946a..5b298b7 100644 --- a/CRM/Admin/Form/DonrecProfile.php +++ b/CRM/Admin/Form/DonrecProfile.php @@ -618,6 +618,16 @@ public function validate() { /** * Process the form submission. */ + + /** + * {@inheritDoc} + */ + protected function getFieldsToExcludeFromPurification(): array { + // Prevent HTML template from being sanitized. + // @see \CRM_Core_Form::setPurifiedDefaults() + return ['template']; + } + public function postProcess() { $session = CRM_Core_Session::singleton();