From 3d9d4650fc0e229dfb7dba11e705df799da989ff Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Fri, 6 Mar 2015 08:45:46 +0100 Subject: [PATCH] EHTMLEditorView - Don't try to preserve the text blocks when parsing content It will be enabled again after the 3.16 is branched so we can improve it. --- e-util/e-html-editor-view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index df0785aeb7..24b94287c8 100644 --- a/e-util/e-html-editor-view.c +++ b/e-util/e-html-editor-view.c @@ -65,6 +65,8 @@ #define HTML_KEY_CODE_SPACE 32 #define HTML_KEY_CODE_DELETE 46 +#define TRY_TO_PRESERVE_BLOCKS 0 + /** * EHTMLEditorView: * @@ -4483,7 +4485,7 @@ parse_html_into_paragraphs (EHTMLEditorView *view, while (next_br) { gboolean local_ignore_next_br = ignore_next_br; gboolean local_preserve_next_line = preserve_next_line; - gboolean preserve_block = TRUE; + gboolean preserve_block = TRY_TO_PRESERVE_BLOCKS; const gchar *citation = NULL, *citation_end = NULL; const gchar *rest = NULL, *with_br = NULL; gchar *to_insert = NULL;