[evolution] EHTMLEditorSelection - Selection could be saved wrong in quoted content
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorSelection - Selection could be saved wrong in quoted content
- Date: Wed, 30 Mar 2016 12:43:05 +0000 (UTC)
commit 1eed6a20580f39522a06f28733cb361daa755c18
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 30 10:14:51 2016 +0200
EHTMLEditorSelection - Selection could be saved wrong in quoted content
e-util/e-html-editor-selection.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index a0db9e5..242ed2a 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -7729,7 +7729,8 @@ e_html_editor_selection_save (EHTMLEditorSelection *selection)
}
if (!webkit_dom_node_get_previous_sibling (container)) {
split_node = parent_node;
- } else if (!webkit_dom_node_get_next_sibling (container)) {
+ } else if (!webkit_dom_node_get_next_sibling (container) &&
+ !WEBKIT_DOM_IS_HTML_BODY_ELEMENT (parent_node)) {
split_node = parent_node;
split_node = webkit_dom_node_get_next_sibling (split_node);
} else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]