From cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 30 Jun 2014 13:31:55 +0200 Subject: EHTMLEditorSelection - When removing the elements use by composer for quoted content remove all of them --- e-util/e-html-editor-selection.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c index a351925918..06cea06b9b 100644 --- a/e-util/e-html-editor-selection.c +++ b/e-util/e-html-editor-selection.c @@ -1608,6 +1608,12 @@ remove_quoting_from_element (WebKitDOMElement *element) remove_node (node); } + list = webkit_dom_element_query_selector_all ( + element, "br.-x-evo-temp-br", NULL); + length = webkit_dom_node_list_get_length (list); + for (ii = 0; ii < length; ii++) + remove_node (webkit_dom_node_list_item (list, ii)); + webkit_dom_node_normalize (WEBKIT_DOM_NODE (element)); } -- cgit v1.2.3