[evolution/gnome-3-16] Bug 746876 - Signature's empty new line at the end of text/plain lost on edit



commit 0b1d0be1cf9a795c498c4d86a088cbc4bf8b586f
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Apr 2 14:14:48 2015 +0200

    Bug 746876 - Signature's empty new line at the end of text/plain lost on edit

 e-util/e-html-editor-view.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 0a4f0f4..f8852dc 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -6186,7 +6186,9 @@ parse_html_into_paragraphs (EHTMLEditorView *view,
                                        element_add_class (
                                                WEBKIT_DOM_ELEMENT (child),
                                                "-x-evo-last-br");
-                               }
+                               } else
+                                       create_and_append_new_paragraph (
+                                               selection, document, blockquote, block, "<br>");
                        } else
                                create_and_append_new_paragraph (
                                        selection, document, blockquote, block, "<br>");


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