diff --git a/core/lib/Drupal/Core/StringTranslation/TranslationManager.php b/core/lib/Drupal/Core/StringTranslation/TranslationManager.php index 87ff63e..56575e6 100644 --- a/core/lib/Drupal/Core/StringTranslation/TranslationManager.php +++ b/core/lib/Drupal/Core/StringTranslation/TranslationManager.php @@ -145,7 +145,7 @@ public function translate($string, array $args = array(), array $options = array // This is assumed to be safe because translate should only be called // with strings defined in code. // @see \Drupal\Core\StringTranslation\TranslationInterface::translate() - return SafeMarkup::set($string); + return SafeMarkup::setMultiple([$string]); } else { return SafeMarkup::format($string, $args);