diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc
index 81fa6af..01fd704 100644
--- a/core/modules/system/system.admin.inc
+++ b/core/modules/system/system.admin.inc
@@ -229,8 +229,8 @@ function theme_system_modules_details($variables) {
// Add the module label and expand/collapse functionality.
$id = Html::getUniqueId('module-' . $key);
- $col2 = '';
- $row[] = array('class' => array('module'), 'data' => SafeMarkup::set($col2));
+ $col2 = SafeMarkup::format('', ['@id' => $id, '@enable_id' => $module['enable']['#id'], '@module_name' => drupal_render($module['name'])]);
+ $row[] = ['class' => ['module'], 'data' => $col2];
// Add the description, along with any modules it requires.
$description = '';
@@ -259,7 +259,7 @@ function theme_system_modules_details($variables) {
}
$details = array(
'#type' => 'details',
- '#title' => SafeMarkup::set(' ' . drupal_render($module['description']) . ''),
+ '#title' => SafeMarkup::format(' @description', ['@description' => drupal_render($module['description'])]),
'#attributes' => array('id' => $module['enable']['#id'] . '-description'),
'#description' => $description,
);