function _drupal_html_to_text_clean
Replaces non-quotation markers from a given piece of indentation with spaces.
Callback for array_map() within drupal_html_to_text().
1 call to _drupal_html_to_text_clean()
- drupal_wrap_mail in includes/
mail.inc - Performs format=flowed soft wrapping for mail (RFC 3676).
1 string reference to '_drupal_html_to_text_clean'
- drupal_html_to_text in includes/
mail.inc - Transforms an HTML string into plain text, preserving its structure.
File
-
includes/
mail.inc, line 664
Code
function _drupal_html_to_text_clean($indent) {
return preg_replace('/[^>]/', ' ', $indent);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.