[evolution/wip/webkit2] EHTMLEditorView - Remove the node that is used for quoting when whe quote the body



commit bc76e93c5bc11fc539dfcf9a70a3d095911fe40e
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Mar 24 08:52:59 2015 +0100

    EHTMLEditorView - Remove the node that is used for quoting when whe quote the body

 web-extensions/e-html-editor-view-dom-functions.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c 
b/web-extensions/e-html-editor-view-dom-functions.c
index c2e9175..911395e 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -750,6 +750,8 @@ put_body_in_citation (WebKitDOMDocument *document)
 
                while ((sibling = webkit_dom_node_get_next_sibling (citation)))
                        webkit_dom_node_append_child (citation, sibling, NULL);
+
+               remove_node (WEBKIT_DOM_NODE (cite_body));
        }
 }
 


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