summaryrefslogtreecommitdiff
path: root/includes/mail.inc
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-12-27 16:30:03 -0500
committerDavid Rothstein <drothstein@gmail.com>2013-12-27 16:30:03 -0500
commit273c78ded2005cac80e2fa965f9131a85be16f0b (patch)
treef37c49f3bc8b727bf27a69f77238443049f649e7 /includes/mail.inc
parentbb746492d200122566557937aeb4bc7e7d20f6cc (diff)
downloadbrdo-273c78ded2005cac80e2fa965f9131a85be16f0b.tar.gz
brdo-273c78ded2005cac80e2fa965f9131a85be16f0b.tar.bz2
Issue #2078917 by sun: E-mails contain double spaces in soft-wrapped sentences.
Diffstat (limited to 'includes/mail.inc')
-rw-r--r--includes/mail.inc2
1 files changed, 1 insertions, 1 deletions
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");
}