[evolution/evolution-3-12] Bug 739386 - Forward style Inline is missing a line break



commit 3c8427063165052789618e58a6125deab4914837
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 31 15:21:29 2014 +0100

    Bug 739386 - Forward style Inline is missing a line break

 mail/em-composer-utils.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 8fde654..302b473 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1758,6 +1758,12 @@ forward_non_attached (EMailBackend *backend,
        shell = e_shell_backend_get_shell (E_SHELL_BACKEND (backend));
 
        forward = quoting_text (QUOTING_FORWARD);
+       if (style == E_MAIL_FORWARD_STYLE_INLINE && forward) {
+               gchar *tmp = forward;
+               forward = g_strconcat (forward, "<br>", NULL);
+               g_free (tmp);
+       }
+
        text = em_utils_message_to_html (
                CAMEL_SESSION (session), message,
                forward, flags, NULL, NULL, &validity_found);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]