6 calls to HtmlToTextTest::assertHtmlToText() in Drupal 9
- HtmlToTextTest::testDrupalHtmlToTextArgs in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Tests allowing tags in \Drupal\Core\Mail\MailFormatHelper::htmlToText().
- HtmlToTextTest::testDrupalHtmltoTextCollapsesWhitespace in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Tests that whitespace is collapsed.
- HtmlToTextTest::testDrupalHtmlToTextParagraphs in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Tests that combinations of paragraph breaks, line breaks, linefeeds, and spaces are properly handled.
- HtmlToTextTest::testFootnoteReferences in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Tests that footnote references are properly generated.
- HtmlToTextTest::testHeaderSeparation in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Tests that headers are properly separated from surrounding text.
- HtmlToTextTest::testTags in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Tests supported tags of \Drupal\Core\Mail\MailFormatHelper::htmlToText().