diff -u b/core/modules/system/src/Tests/Theme/FunctionsTest.php b/core/modules/system/src/Tests/Theme/FunctionsTest.php --- b/core/modules/system/src/Tests/Theme/FunctionsTest.php +++ b/core/modules/system/src/Tests/Theme/FunctionsTest.php @@ -185,9 +185,9 @@ // Verify that HTML separators are escaped. $variables = array(); $variables['items'] = array('Doe', 'Buck', 'Kit'); - $variables['separator'] = '<br /gt;'; - $expected = 'Doe<br />Buck<br /gt;Kit'; - $this->assertThemeOutput('inline_list', $variables, $expected, '%callback allows HTML in user-provided separators.'); + $variables['separator'] = '
'; + $expected = 'Doe<br />Buck<br />Kit'; + $this->assertThemeOutput('inline_list', $variables, $expected, '%callback escapes HTML in user-provided separators.'); } /**