[evolution/wip/webkit2] EHTMLEditorView - Extra new line in the beginning of quoted content



commit 1ab226135c0f0c09a3a8362dfae2b788c2fd9fda
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Feb 25 18:44:01 2016 +0100

    EHTMLEditorView - Extra new line in the beginning of quoted content

 .../composer/e-html-editor-view-dom-functions.c    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c 
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index eeb3914..5c49172 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -4030,7 +4030,7 @@ parse_html_into_paragraphs (WebKitDOMDocument *document,
                                        "<br class=\"-x-evo-first-br\">");
                        } else
                                preserve_next_line = FALSE;
-               } else if (first_element) {
+               } else if (first_element && !citation_was_first_element) {
                        paragraph = create_and_append_new_paragraph (
                                document,
                                extension,


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