From cfd3e92cc55e7b1ff7de80283b83e9f05074fd0e Mon Sep 17 00:00:00 2001 From: alec Date: Sun, 28 Mar 2010 16:51:20 +0000 Subject: - Fix single space inserted on fwd/reply with top posting (#1486532) git-svn-id: https://svn.roundcube.net/trunk@3433 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roundcubemail/program/steps/mail/compose.inc') diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index d886801a3..07659307c 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -610,17 +610,17 @@ function rcmail_create_reply_body($body, $bodyIsHtml) $body = rcmail_wash_html($body, array('safe' => $MESSAGE->is_safe), $cid_map); // build reply (quote content) - $prefix = sprintf("On %s, %s wrote:
\n", + $prefix = sprintf("

On %s, %s wrote:

\n", $MESSAGE->headers->date, htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $RCMAIL->output->get_charset())); $prefix .= '
'; - + if ($RCMAIL->config->get('top_posting')) { - $prefix = "

" . $prefix; - $suffix = "
"; + $prefix = '
' . $prefix; + $suffix = ''; } else { - $suffix = "

"; + $suffix = '

'; } } @@ -659,7 +659,7 @@ function rcmail_create_forward_body($body, $bodyIsHtml) $body = rcmail_wash_html($body, array('safe' => $MESSAGE->is_safe), $cid_map); $prefix = sprintf( - "

-------- Original Message --------

" . + "

-------- Original Message --------

" . "" . "" . "" . -- cgit v1.2.3
Subject: %s
Date: %s