Thomas Bruederli
2012-08-14 27e1b6dd56de5ebdded940faa5c8a1ac531e7811
Improve text wrapping in replies
1 files modified
2 ■■■ changed files
program/steps/mail/func.inc 2 ●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -1435,7 +1435,7 @@
function rcmail_wrap_and_quote($text, $length = 72)
{
  // Rebuild the message body with a maximum of $max chars, while keeping quoted message.
  $max = min(77, $length + 8);
  $max = max(75, $length + 8);
  $lines = preg_split('/\r?\n/', trim($text));
  $out = '';