From 273c78ded2005cac80e2fa965f9131a85be16f0b Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Fri, 27 Dec 2013 16:30:03 -0500 Subject: Issue #2078917 by sun: E-mails contain double spaces in soft-wrapped sentences. --- includes/mail.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/mail.inc') diff --git a/includes/mail.inc b/includes/mail.inc index 34a4d10fa..7a1d29ed7 100644 --- a/includes/mail.inc +++ b/includes/mail.inc @@ -564,7 +564,7 @@ function drupal_html_to_text($string, $allowed_tags = NULL) { */ function _drupal_wrap_mail_line(&$line, $key, $values) { // Use soft-breaks only for purely quoted or unindented text. - $line = wordwrap($line, 77 - $values['length'], $values['soft'] ? " \n" : "\n"); + $line = wordwrap($line, 77 - $values['length'], $values['soft'] ? " \n" : "\n"); // Break really long words at the maximum width allowed. $line = wordwrap($line, 996 - $values['length'], $values['soft'] ? " \n" : "\n"); } -- cgit v1.2.3