diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-09-10 22:21:12 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-09-10 22:26:04 +0800 |
commit | e0dc225662f4946d16814fcea488026eb1292eef (patch) | |
tree | 3b8fac801b44b7e4fc10328e8cc8fab825cb2396 | |
parent | 137eee309f3d22a90b3dca086313f70224b0a510 (diff) | |
download | gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.tar gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.tar.gz gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.tar.bz2 gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.tar.lz gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.tar.xz gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.tar.zst gsoc2013-evolution-e0dc225662f4946d16814fcea488026eb1292eef.zip |
EHTMLEditorView - Save the text that can be written inside the tabulator wrapper
It can happen sometimes that the text can be written inside the
tabulator wrapper. So when this happens append the text into the plain
text version of the message (in the HTML version it already is) and
don't throw it away.
-rw-r--r-- | e-util/e-html-editor-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index 7843bd1c87..dde877f6ee 100644 --- a/e-util/e-html-editor-view.c +++ b/e-util/e-html-editor-view.c @@ -5862,6 +5862,10 @@ process_elements (EHTMLEditorView *view, g_free (tmp); content = webkit_dom_node_get_text_content (child); g_regex_unref (regex); + } else if (content && *content) { + /* Some it happens that some text is written inside + * the tab span element, so save it. */ + g_string_append (buffer, content); } } if (to_html) { |