6 calls to HtmlToTextTest::assertHtmlToText()
- 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 - Test that whitespace is collapsed.
- HtmlToTextTest::testDrupalHtmlToTextParagraphs in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Test 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 - Test that footnote references are properly generated.
- HtmlToTextTest::testHeaderSeparation in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Test that headers are properly separated from surrounding text.
- HtmlToTextTest::testTags in core/
modules/ system/ tests/ src/ Functional/ Mail/ HtmlToTextTest.php - Test 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.