From e0dc225662f4946d16814fcea488026eb1292eef Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 10 Sep 2014 16:21:12 +0200 Subject: 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. --- e-util/e-html-editor-view.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- cgit v1.2.3