7 calls to drupal_html_to_text() in Drupal 7
- ContactSitewideTestCase::testAutoReply in modules/
contact/ contact.test - Tests auto-reply on the site-wide contact form.
- DefaultMailSystem::format in modules/
system/ system.mail.inc - Concatenate and wrap the e-mail body for plain-text mails.
- DrupalHtmlToTextTestCase::assertHtmlToText in modules/
simpletest/ tests/ mail.test - Helper function for testing drupal_html_to_text().
- DrupalHtmlToTextTestCase::testDrupalHtmlToTextBlockTagToNewline in modules/
simpletest/ tests/ mail.test - Test that text separated by block-level tags in HTML get separated by (at least) a newline in the plaintext version.
- DrupalHtmlToTextTestCase::testVeryLongLineWrap in modules/
simpletest/ tests/ mail.test - Tests that drupal_html_to_text() wraps before 1000 characters.
- hook_mail in modules/
system/ system.api.php - Prepare a message based on parameters; called from drupal_mail().
- MailTestCase::format in modules/
simpletest/ tests/ mail.test - Concatenate and wrap the e-mail body for plain-text mails.