[evolution] EHTMLEditorView - Fix reply to message



commit 846063476f4bbcae99553600fe62028b09220828
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Jul 3 09:39:45 2014 +0200

    EHTMLEditorView - Fix reply to message
    
    After commit 8a004f3e we are finally sure that the text that is passed
    into e_html_editor_view_set_text_html function has always the HTML
    content, so don't try to treat it as plain text.

 e-util/e-html-editor-view.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 19f5758..5262dec 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -6178,10 +6178,8 @@ e_html_editor_view_set_text_html (EHTMLEditorView *view,
                                        WEBKIT_WEB_VIEW (view), text, NULL, NULL, "file://");
                                return;
                        }
-                       convert_and_load_html_to_plain_text (view, text);
-               } else {
-                       convert_and_load_plain_text (view, text);
                }
+               convert_and_load_html_to_plain_text (view, text);
        } else {
                webkit_web_view_load_string (
                        WEBKIT_WEB_VIEW (view), text, NULL, NULL, "file://");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]