[evolution] EHTMLEditorView - Plain text version of draft could lose formatting
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorView - Plain text version of draft could lose formatting
- Date: Wed, 29 Jun 2016 13:20:37 +0000 (UTC)
commit bbd711db93842bd6724d066850661262ef890a4a
Author: Tomas Popela <tpopela redhat com>
Date: Wed Jun 29 14:10:14 2016 +0200
EHTMLEditorView - Plain text version of draft could lose formatting
When generating a plain text version of the HTML draft we can use just the
simplified conversion.
e-util/e-html-editor-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 92658a9..cdf5ccb 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -10445,7 +10445,7 @@ process_content_for_plain_text (EHTMLEditorView *view)
/* If composer is in HTML mode we have to move the content to plain version */
if (view->priv->html_mode) {
- if (converted || view->priv->is_new_message) {
+ if (converted || view->priv->is_new_message || view->priv->is_message_from_draft) {
toggle_paragraphs_style_in_element (
view, WEBKIT_DOM_ELEMENT (source), FALSE);
remove_images_in_element (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]