[evolution] Bug 740755 - New-line lost on a text paste



commit ba1f689c8eca553ad5516c6c46488c48e17d29f2
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Nov 26 16:07:29 2014 +0100

    Bug 740755 - New-line lost on a text paste
    
    Don't try to preserve the text blocks when the line starts with
    tabulator.

 e-util/e-html-editor-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 2871441..e0493f0 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -4199,7 +4199,7 @@ parse_html_into_paragraphs (EHTMLEditorView *view,
                        g_strchomp (truncated);
                        empty = !*truncated && strlen (rest) > 0;
 
-                       if (strchr (" +- *=", *rest))
+                       if (strchr (" +- *=\t", *rest))
                                prevent_block = FALSE;
 
                        rest_to_insert = g_regex_replace_eval (


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