diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 4a8683e..e0ac6b1 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -348,11 +348,14 @@ 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), + //The $description string is concatenated from t() calls, + //safe drupal_render() output, whitespace, and
tags, so is safe. + //We can implement raw filter in the inline_template call. + 'description' => array( + '#type' => 'inline_template', + '#template' => '{{ description|raw}}', + '#context' => array('description' => $description), + ), ); } if ($phase != 'install') {