function _drupal_html_to_text_clean

_drupal_html_to_text_clean($indent)

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

Callback for array_map() within drupal_html_to_text().

File

includes/mail.inc, line 604
API functions for processing and sending e-mail.

Code

function _drupal_html_to_text_clean($indent) {
  return preg_replace('/[^>]/', ' ', $indent);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!mail.inc/function/_drupal_html_to_text_clean/7.x