aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */