protected static MailFormatHelper::htmlToTextClean($indent)
Replaces non-quotation markers from a piece of indentation with spaces.
Callback for array_map() within \Drupal\Core\Mail\MailFormatHelper::htmlToText().
File
- core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 361
Class
- MailFormatHelper
- Defines a class containing utility methods for formatting mail messages.
Namespace
Drupal\Core\Mail
Code
1 2 3 | protected static function htmlToTextClean( $indent ) { return preg_replace( '/[^>]/' , ' ' , $indent ); } |
Please login to continue.