[evolution] EHTMLEditorView - Magic links are not working anymore
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorView - Magic links are not working anymore
- Date: Wed, 10 Jun 2015 07:53:15 +0000 (UTC)
commit b3502891fd5422ec895188f16d3090e05b90f16b
Author: Tomas Popela <tpopela redhat com>
Date: Wed Jun 10 08:41:54 2015 +0200
EHTMLEditorView - Magic links are not working anymore
e-util/e-html-editor-view.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 0283151..167668b 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -1516,9 +1516,10 @@ html_editor_view_check_magic_links (EHTMLEditorView *view,
}
node_text = webkit_dom_text_get_whole_text (WEBKIT_DOM_TEXT (node));
- if (!(node_text && *node_text) || !g_utf8_validate (node_text, -1, NULL))
+ if (!(node_text && *node_text) || !g_utf8_validate (node_text, -1, NULL)) {
g_free (node_text);
return;
+ }
if (strstr (node_text, "@") && !strstr (node_text, "://")) {
is_email_address = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]