[evolution] EHTMLEditorView - Don't try to preserve the text blocks when parsing content



commit 3d9d4650fc0e229dfb7dba11e705df799da989ff
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Mar 6 08:45:46 2015 +0100

    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 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index df0785a..24b9428 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;


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