[evolution] "Insert text file" sensitive to HTML-significant characters



commit 1c13be815fd12bde048b27e27531e25c7714e42d
Author: Milan Crha <mcrha redhat com>
Date:   Wed Dec 21 12:22:06 2016 +0100

    "Insert text file" sensitive to HTML-significant characters
    
    Reported downstream as:
    https://bugzilla.redhat.com/show_bug.cgi?id=1406660

 src/e-util/e-html-editor-actions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/e-util/e-html-editor-actions.c b/src/e-util/e-html-editor-actions.c
index 9fb9b0f..79ac0c8 100644
--- a/src/e-util/e-html-editor-actions.c
+++ b/src/e-util/e-html-editor-actions.c
@@ -128,7 +128,7 @@ insert_text_file_ready_cb (GFile *file,
 
        cnt_editor = e_html_editor_get_content_editor (editor);
        e_content_editor_insert_content (
-               cnt_editor, contents, E_CONTENT_EDITOR_INSERT_TEXT_PLAIN);
+               cnt_editor, contents, E_CONTENT_EDITOR_INSERT_CONVERT | E_CONTENT_EDITOR_INSERT_TEXT_PLAIN);
 
        g_free (contents);
 


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