From 32b09149c4192b3b516c015929cc62dfe74708b2 Mon Sep 17 00:00:00 2001 From: John Flatness Date: Tue, 25 Jul 2023 16:49:06 -0400 Subject: [PATCH] Set HTMLPurifier enabled by default Affects new installations only --- application/src/Installation/Task/AddDefaultSettingsTask.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/src/Installation/Task/AddDefaultSettingsTask.php b/application/src/Installation/Task/AddDefaultSettingsTask.php index e691c4b7c1..97c5e09c6d 100644 --- a/application/src/Installation/Task/AddDefaultSettingsTask.php +++ b/application/src/Installation/Task/AddDefaultSettingsTask.php @@ -14,6 +14,7 @@ class AddDefaultSettingsTask implements TaskInterface 'media_type_whitelist' => SettingForm::MEDIA_TYPE_WHITELIST, 'extension_whitelist' => SettingForm::EXTENSION_WHITELIST, 'version_notifications' => '1', + 'use_htmlpurifier' => '1', ]; public function perform(Installer $installer)