summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2016-01-07 14:17:27 +0100
committerTomas Popela <tpopela@redhat.com>2016-01-07 14:29:34 +0100
commitf977bfe1ebd83f62b0ef0b0a720ee0b45b0308ef (patch)
treeb0bf6601eb9d40609340c293b4208ec046c940aa
parent684bf4c65a579b487a060f9ff71b2cdb4ab6b7d4 (diff)
downloadevolution-f977bfe1ebd83f62b0ef0b0a720ee0b45b0308ef.tar.gz
EHTMLEditorView - Cannot append text to links if non-breaking space is presented
-rw-r--r--e-util/e-html-editor-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 5cc43986f6..a823b4c607 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2857,7 +2857,7 @@ body_input_event_cb (WebKitDOMElement *element,
text = webkit_dom_node_get_text_content (node);
- if (text && *text && !strstr (text, " ")) {
+ if (text && *text && *text != ' ' && !g_str_has_prefix (text, UNICODE_NBSP)) {
gboolean valid = FALSE;
if (*text == '?' && strlen (text) > 1)