diff --git a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php index 351aabb..f26b498 100644 --- a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php +++ b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php @@ -39,8 +39,7 @@ protected function stringToHtml($text) { } /** - * Helper function for testing - * \Drupal\Core\Mail\MailFormatHelper::htmlToText(). + * Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText(). * * @param $html * The source HTML string to be converted. @@ -70,8 +69,7 @@ protected function assertHtmlToText($html, $text, $message, $allowed_tags = NULL } /** - * Test all supported tags of - * \Drupal\Core\Mail\MailFormatHelper::htmlToText(). + * Test supported tags of \Drupal\Core\Mail\MailFormatHelper::htmlToText(). */ public function testTags() { global $base_path, $base_url; @@ -166,8 +164,7 @@ public function testTags() { } /** - * Test $allowed_tags argument of - * \Drupal\Core\Mail\MailFormatHelper::htmlToText(). + * Tests allowing tags in \Drupal\Core\Mail\MailFormatHelper::htmlToText(). */ public function testDrupalHtmlToTextArgs() { // The second parameter of \Drupal\Core\Mail\MailFormatHelper::htmlToText() @@ -337,8 +334,7 @@ public function testDrupalHtmlToTextParagraphs() { } /** - * Tests that \Drupal\Core\Mail\MailFormatHelper::htmlToText() wraps before - * 1000 characters. + * Tests \Drupal\Core\Mail\MailFormatHelper::htmlToText() wrapping. * * RFC 3676 says, "The Text/Plain media type is the lowest common * denominator of Internet email, with lines of no more than 998 characters."