[evolution/wip/webkit2] Bug 740754 - Opening just Draft with attachments shows HTML code
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 740754 - Opening just Draft with attachments shows HTML code
- Date: Thu, 27 Nov 2014 17:09:07 +0000 (UTC)
commit 1d9c3bb5860f4e867457057713df7f6439c38b78
Author: Tomas Popela <tpopela redhat com>
Date: Wed Nov 26 16:00:39 2014 +0100
Bug 740754 - Opening just Draft with attachments shows HTML code
Ask for content type of part otherwise we will pass the HTML code as
a plain text one.
composer/e-msg-composer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 3604f29..1c66275 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3078,6 +3078,7 @@ handle_multipart (EMsgComposer *composer,
editor = e_msg_composer_get_editor (composer);
is_message_from_draft = e_html_editor_view_is_message_from_draft (
e_html_editor_get_view (editor));
+ is_html = camel_content_type_is (content_type, "text", "html");
/* Since the first part is not multipart/alternative,
* this must be the body. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]