[evolution/wip/webkit2] Bug 758849 - URL doesn't always unwrap on switch to Preformatted
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 758849 - URL doesn't always unwrap on switch to Preformatted
- Date: Wed, 2 Mar 2016 18:15:41 +0000 (UTC)
commit 933fe2c8ee9248819f096d8a31a405fd13756525
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 2 19:02:18 2016 +0100
Bug 758849 - URL doesn't always unwrap on switch to Preformatted
.../composer/e-html-editor-view-dom-functions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index 2ee590c..c90e311 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -938,7 +938,7 @@ dom_check_magic_links (WebKitDOMDocument *document,
node = webkit_dom_range_get_end_container (range, NULL);
}
- if (!node)
+ if (!node || WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT (node))
goto out;
if (!WEBKIT_DOM_IS_TEXT (node)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]