_drupal_html_to_text_clean

6 mail.inc _drupal_html_to_text_clean($indent)
7 mail.inc _drupal_html_to_text_clean($indent)
8 mail.inc _drupal_html_to_text_clean($indent)

Helper function for drupal_wrap_mail() and drupal_html_to_text().

Replace all non-quotation markers from a given piece of indentation with spaces.

1 call to _drupal_html_to_text_clean()

1 string reference to '_drupal_html_to_text_clean'

File

includes/mail.inc, line 461

Code

function _drupal_html_to_text_clean($indent) {
  return preg_replace('/[^>]/', ' ', $indent);
}
Login or register to post comments