diff --git a/core/modules/update/update.module b/core/modules/update/update.module index 580cb91..8e69edf 100644 --- a/core/modules/update/update.module +++ b/core/modules/update/update.module @@ -538,7 +538,7 @@ function _update_message_text($msg_type, $msg_reason, $report_link = FALSE, $lan $available_updates_text = t('See the available updates page for more information.', array('@available_updates' => \Drupal::url('update.status', [], ['language' => $language])), array('langcode' => $langcode)); } return SafeMarkup::format('@text @available_updates_text', ['@text' => $text, '@available_updates_text' => $available_updates_text]); - } + } else { // Anything in $text has been run through t() and marked as safe. return $text;