diff --git a/core/lib/Drupal/Core/Database/Install/Tasks.php b/core/lib/Drupal/Core/Database/Install/Tasks.php
index 9ac759e..8ef32be 100644
--- a/core/lib/Drupal/Core/Database/Install/Tasks.php
+++ b/core/lib/Drupal/Core/Database/Install/Tasks.php
@@ -7,7 +7,7 @@
namespace Drupal\Core\Database\Install;
-use Drupal\Component\Utility\SafeMarkup;
+use Drupal\Component\Utility\Xss;
use Drupal\Core\Database\Database;
/**
@@ -155,7 +155,7 @@ public function runTasks() {
}
}
if (!empty($message)) {
- $message = SafeMarkup::format('Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider. @message', array('@message' => $message));
+ $message = Xss::filterAdmin('Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider.', $message);
throw new TaskException($message);
}
}