[evolution/wip/webkit-composer] Bug 726647: [webkit-composer] Opened draft with quoted parts double-quoted



commit ae1243d81915ba4316612e5b1d88f4f973f3a220
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Mar 20 09:15:44 2014 +0100

    Bug 726647: [webkit-composer] Opened draft with quoted parts double-quoted
    
    Don't try to process message from draft, just load it.

 e-util/e-editor-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 8f7360a..a4cb738 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -5396,7 +5396,7 @@ e_editor_widget_set_text_html (EEditorWidget *widget,
        widget->priv->reload_in_progress = TRUE;
 
        /* Only convert messages that are in HTML */
-       if (!widget->priv->html_mode && *text) {
+       if (!widget->priv->html_mode && *text && !strstr (text, "data-evo-draft")) {
                if (strstr (text, "<!-- text/html -->")) {
                        if (!show_lose_formatting_dialog (widget)) {
                                e_editor_widget_set_html_mode (widget, TRUE);


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