diff options
author | Tomas Popela <tpopela@redhat.com> | 2016-01-07 14:17:27 +0100 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2016-01-07 14:29:34 +0100 |
commit | f977bfe1ebd83f62b0ef0b0a720ee0b45b0308ef (patch) | |
tree | b0bf6601eb9d40609340c293b4208ec046c940aa | |
parent | 684bf4c65a579b487a060f9ff71b2cdb4ab6b7d4 (diff) | |
download | evolution-f977bfe1ebd83f62b0ef0b0a720ee0b45b0308ef.tar.gz |
EHTMLEditorView - Cannot append text to links if non-breaking space is presented
-rw-r--r-- | e-util/e-html-editor-view.c | 2 |
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) |