diff -u b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php --- b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @@ -389,6 +389,7 @@ $data['html without links'] = ["Test without links but with\r\nsome special characters", 'http://example.com', FALSE]; $data['html with html entity'] = ["Test without links but with \nsome special characters", 'http://example.com', FALSE]; + $data['html with carriage return in tag'] = ["My link", 'http://example.com', 'My link']; return $data; }