6 calls to HtmlToTextTest::assertHtmlToText()
- HtmlToTextTest::testDrupalHtmlToTextArgs in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests allowing tags in \Drupal\Core\Mail\MailFormatHelper::htmlToText().
- HtmlToTextTest::testDrupalHtmlToTextCollapsesWhitespace in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests that whitespace is collapsed.
- HtmlToTextTest::testDrupalHtmlToTextParagraphs in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests the plaintext conversion of different whitespace combinations.
- HtmlToTextTest::testFootnoteReferences in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests that footnote references are properly generated.
- HtmlToTextTest::testHeaderSeparation in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests that headers are properly separated from surrounding text.
- HtmlToTextTest::testTags in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests supported tags of \Drupal\Core\Mail\MailFormatHelper::htmlToText().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.