[evolution/wip/webkit-composer: 929/966] Bug 726647: [webkit-composer] Opened draft with quoted parts double-quoted
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 929/966] Bug 726647: [webkit-composer] Opened draft with quoted parts double-quoted
- Date: Wed, 23 Apr 2014 11:11:32 +0000 (UTC)
commit 17443d056a80895e41366425192603bbde4a9a34
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]