diff --git a/core/modules/locale/src/Tests/LocaleStringIsSafeTest.php b/core/modules/locale/src/Tests/LocaleStringIsSafeTest.php index a48e344..603187f 100644 --- a/core/modules/locale/src/Tests/LocaleStringIsSafeTest.php +++ b/core/modules/locale/src/Tests/LocaleStringIsSafeTest.php @@ -63,7 +63,7 @@ public function testLocalizedTokenizedString() { ], 2 => [ 'original' => 'Hello [locale_test:security_test2]!', - 'replaced' => 'Hello <strong><script>alert(&#039;Mooooh!&#039;);</script></strong>!', + 'replaced' => 'Hello <strong>&lt;script&gt;alert(&#039;Mooooh!&#039;);&lt;/script&gt;</strong>!', ], ];