diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-06-23 22:25:31 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-06-23 22:47:42 +0800 |
commit | 398a46ccb529cbea1cda5262ed85a036a4c2c3a7 (patch) | |
tree | 111dceb38479282f8845bfb355bf5009849129e0 | |
parent | d5ac3cfcf151c1988d06120cd63f1c41c3aed504 (diff) | |
download | gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.tar gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.tar.gz gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.tar.bz2 gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.tar.lz gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.tar.xz gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.tar.zst gsoc2013-evolution-398a46ccb529cbea1cda5262ed85a036a4c2c3a7.zip |
EHTMLEditorView - Generate new line into plain text version even when paragraph has no children
-rw-r--r-- | e-util/e-html-editor-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index 8467f12f70..f7c9eed164 100644 --- a/e-util/e-html-editor-view.c +++ b/e-util/e-html-editor-view.c @@ -4823,6 +4823,9 @@ process_elements (EHTMLEditorView *view, remove_base_attributes (WEBKIT_DOM_ELEMENT (child)); remove_evolution_attributes (WEBKIT_DOM_ELEMENT (child)); } + if (!webkit_dom_node_has_child_nodes (child)) + if (!changing_mode && to_plain_text) + g_string_append (buffer, "\n"); } /* Signature */ |