Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
mail.test
»
DrupalHtmlToTextTestCase
»
DrupalHtmlToTextTestCase::assertHtmlToText
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
6 calls to DrupalHtmlToTextTestCase::assertHtmlToText()
DrupalHtmlToTextTestCase::testDrupalHtmlToTextArgs
in drupal/
modules/
simpletest/
tests/
mail.test
Test $allowed_tags argument of
drupal_html_to_text
().
DrupalHtmlToTextTestCase::testDrupalHtmltoTextCollapsesWhitespace
in drupal/
modules/
simpletest/
tests/
mail.test
Test that whitespace is collapsed.
DrupalHtmlToTextTestCase::testDrupalHtmlToTextParagraphs
in drupal/
modules/
simpletest/
tests/
mail.test
Test that combinations of paragraph breaks, line breaks, linefeeds, and spaces are properly handled.
DrupalHtmlToTextTestCase::testFootnoteReferences
in drupal/
modules/
simpletest/
tests/
mail.test
Test that footnote references are properly generated.
DrupalHtmlToTextTestCase::testHeaderSeparation
in drupal/
modules/
simpletest/
tests/
mail.test
Test that headers are properly separated from surrounding text.
DrupalHtmlToTextTestCase::testTags
in drupal/
modules/
simpletest/
tests/
mail.test
Test all supported tags of
drupal_html_to_text
().