[evolution/webkit-composer: 178/231] EEditorWidget: Don't display an empty line in new messages and replies.



commit 61f05122bc8d35a26b88e90ac089ca7506b3bddc
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Mar 20 22:25:05 2013 -0400

    EEditorWidget: Don't display an empty line in new messages and replies.
    
    Fixes two bugs: 689627 and 689773.

 e-util/e-editor-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index 4e9cf0d..18a2451 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -1551,7 +1551,7 @@ process_elements (WebKitDOMNode *node,
                }
        }
 
-       if (g_strcmp0 (display, "block") == 0) {
+       if (g_strcmp0 (display, "block") == 0 && g_strcmp0 (tagname, "BODY") != 0) {
                g_string_append (buffer, "\n");
        }
 


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