[evolution/wip/webkit2] EHTMLEditorView - Extra new line added after credentials



commit 7a1f19ba6596dbb45a86e80cc9d49add19e51089
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Mar 2 14:33:47 2016 +0100

    EHTMLEditorView - Extra new line added after credentials

 .../composer/e-html-editor-view-dom-functions.c    |   10 ----------
 1 files changed, 0 insertions(+), 10 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 d940c2f..e3d8f3c 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -6172,16 +6172,6 @@ process_elements (EHTMLEditorWebExtension *extension,
                                skip_node = TRUE;
                                goto next;
                        } else {
-                               if (!changing_mode && to_plain_text) {
-                                       if (get_citation_level (child, FALSE) == 0) {
-                                               gchar *value = webkit_dom_element_get_attribute (
-                                                       WEBKIT_DOM_ELEMENT (child), "type");
-
-                                               if (value && g_strcmp0 (value, "cite") == 0)
-                                                       g_string_append (buffer, "\n");
-                                               g_free (value);
-                                       }
-                               }
                                process_blockquote (WEBKIT_DOM_ELEMENT (child));
                                if (!to_plain_text)
                                        remove_base_attributes (WEBKIT_DOM_ELEMENT (child));


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