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



commit e32677254903d521adccf06ed614c976303eb8c7
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Nov 27 17:56:33 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-dom-functions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view-dom-functions.c b/e-util/e-html-editor-view-dom-functions.c
index 2953ebd..9b91397 100644
--- a/e-util/e-html-editor-view-dom-functions.c
+++ b/e-util/e-html-editor-view-dom-functions.c
@@ -3016,7 +3016,7 @@ parse_html_into_paragraphs (WebKitDOMDocument *document,
                        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]