[evolution] EHTMLEditorView - Don't insert new line when we hit the empty paragraph



commit 0ae138b3dc4f958dd70f11a5df7f0ad65d744c24
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Jan 30 11:30:31 2015 +0100

    EHTMLEditorView - Don't insert new line when we hit the empty paragraph

 e-util/e-html-editor-view.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index efa016f..3651a39 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -6416,9 +6416,6 @@ process_elements (EHTMLEditorView *view,
                                remove_base_attributes (WEBKIT_DOM_ELEMENT (child));
                                remove_evolution_attributes (WEBKIT_DOM_ELEMENT (child));
                        }
-                       if (!changing_mode && to_plain_text)
-                               if (!webkit_dom_node_has_child_nodes (child))
-                                       g_string_append (buffer, "\n");
                }
 
                /* Signature */
@@ -6447,7 +6444,6 @@ process_elements (EHTMLEditorView *view,
                                        WEBKIT_DOM_HTML_ELEMENT (child));
                                g_string_append (buffer, content);
                                g_free (content);
-                               skip_node = TRUE;
                        }
                        skip_node = TRUE;
                        goto next;


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