diff --git a/core/modules/system/system.install b/core/modules/system/system.install index f38af8a..ba36772 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -447,11 +447,9 @@ function system_requirements($phase) { 'title' => t('Cron maintenance tasks'), 'severity' => $severity, 'value' => $summary, - // @todo This string is concatenated from t() calls, safe drupal_render() - // output, whitespace, and
tags, so is safe. However, as a best - // practice, we should not use SafeMarkup::set() around a variable. Fix - // in: https://www.drupal.org/node/2296929. - 'description' => SafeMarkup::set($description), + // This string is concatenated from t() calls, drupal_render() output, + // whitespace, and
tags so we pass it through as markup. + 'description' => ['#markup' => $description], ); } if ($phase != 'install') {