diff --git a/core/lib/Drupal/Core/StringTranslation/TranslationManager.php b/core/lib/Drupal/Core/StringTranslation/TranslationManager.php
index 87ff63e..cb9f392 100644
--- a/core/lib/Drupal/Core/StringTranslation/TranslationManager.php
+++ b/core/lib/Drupal/Core/StringTranslation/TranslationManager.php
@@ -145,7 +145,8 @@ 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);
+      SafeMarkup::setMultiple([$string => ['html' => TRUE]]);
+      return $string;
     }
     else {
       return SafeMarkup::format($string, $args);
