[evolution] EHTMLEditorSelection - Anchors could be wrongly wrapped in quoted content
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorSelection - Anchors could be wrongly wrapped in quoted content
- Date: Fri, 8 Apr 2016 06:54:39 +0000 (UTC)
commit fdc3c11961d5ca573ef86426892b13078e8178a4
Author: Tomas Popela <tpopela redhat com>
Date: Fri Apr 8 08:53:06 2016 +0200
EHTMLEditorSelection - Anchors could be wrongly wrapped in quoted content
e-util/e-html-editor-selection.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index 242ed2a..aefacfc 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -6564,7 +6564,11 @@ wrap_lines (EHTMLEditorSelection *selection,
webkit_dom_html_element_set_outer_text (
WEBKIT_DOM_HTML_ELEMENT (nd), " ", NULL);
} else if (!prev_nd) {
- start_point = nd;
+ WebKitDOMNode *parent;
+
+ parent = webkit_dom_node_get_parent_node (parent);
+ if (!WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (parent))
+ start_point = nd;
}
nd = prev_nd;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]