From 1f3000232410ad1ed4e745f28b8acaad63785b82 Mon Sep 17 00:00:00 2001 From: alec Date: Sat, 18 Oct 2008 07:01:37 +0000 Subject: - wrap also prefix line in reply body git-svn-id: https://svn.roundcube.net/trunk@1985 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 5c6e03f62..efc979023 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -526,10 +526,10 @@ function rcmail_create_reply_body($body, $bodyIsHtml) $body = join("\n", $a_lines); } - // add title line - $prefix = sprintf("On %s, %s wrote:\n", + // add title line(s) + $prefix = wordwrap(sprintf("On %s, %s wrote:\n", $MESSAGE->headers->date, - $MESSAGE->get_header('from')); + $MESSAGE->get_header('from')), 76); $suffix = ''; } -- cgit v1.2.3