_drupal_html_to_text_clean

Definition

_drupal_html_to_text_clean($indent)
includes/mail.inc, line 461

Description

Helper function for drupal_wrap_mail() and drupal_html_to_text().

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

Code

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.