summaryrefslogtreecommitdiff
path: root/includes/mail.inc
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2016-02-01 18:37:58 -0500
committerDavid Rothstein <drothstein@gmail.com>2016-02-01 18:37:58 -0500
commitdbef1acd9520dee6c8ee71d7d0f0dd2129cba068 (patch)
tree1d1a005ba0c1278752cad63f4291f5bf91f7a909 /includes/mail.inc
parentf0d59102f528a9c66b1c3355bb6b2ee48f8b0282 (diff)
downloadbrdo-dbef1acd9520dee6c8ee71d7d0f0dd2129cba068.tar.gz
brdo-dbef1acd9520dee6c8ee71d7d0f0dd2129cba068.tar.bz2
Issue #1946090 by pjonckiere, alex-mo, rpayanm: _drupal_wrap_mail_line() does not force-wrap too long words after 996 characters
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 0275922be..0e5c17804 100644
--- a/includes/mail.inc
+++ b/includes/mail.inc
@@ -566,7 +566,7 @@ 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");
// Break really long words at the maximum width allowed.
- $line = wordwrap($line, 996 - $values['length'], $values['soft'] ? " \n" : "\n");
+ $line = wordwrap($line, 996 - $values['length'], $values['soft'] ? " \n" : "\n", TRUE);
}
/**