aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-06-23 22:25:31 +0800
committerTomas Popela <tpopela@redhat.com>2014-06-23 22:47:42 +0800
commit398a46ccb529cbea1cda5262ed85a036a4c2c3a7 (patch)
tree111dceb38479282f8845bfb355bf5009849129e0
parentd5ac3cfcf151c1988d06120cd63f1c41c3aed504 (diff)
downloadgsoc2013-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.c3
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 */