function _drupal_html_to_text_clean
Same name and namespace in other branches
- 7.x drupal-7.x/includes/mail.inc \_drupal_html_to_text_clean()
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()
- drupal_wrap_mail in drupal-6.x/
includes/ mail.inc - Perform format=flowed soft wrapping for mail (RFC 3676).
1 string reference to '_drupal_html_to_text_clean'
- drupal_html_to_text in drupal-6.x/
includes/ mail.inc - Transform an HTML string into plain text, preserving the structure of the markup. Useful for preparing the body of a node to be sent by e-mail.
Archivo
- drupal-6.x/
includes/ mail.inc, line 463
Código
function _drupal_html_to_text_clean($indent) {
return preg_replace('/[^>]/', ' ', $indent);
}