diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-06-30 19:31:55 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-06-30 20:36:24 +0800 |
commit | cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f (patch) | |
tree | 4afa6e2bc0ce846a76a952777e49f80f50289861 | |
parent | c060ecad9a29bef6cca6935607125e7c505b2e03 (diff) | |
download | gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.tar gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.tar.gz gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.tar.bz2 gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.tar.lz gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.tar.xz gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.tar.zst gsoc2013-evolution-cdeae22ae3b58b5e2ddd3c89767a051e4c04a74f.zip |
EHTMLEditorSelection - When removing the elements use by composer for quoted content remove all of them
-rw-r--r-- | e-util/e-html-editor-selection.c | 6 |
1 files changed, 6 insertions, 0 deletions
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)); } |