[evolution/gnome-3-22] Bug 778347 - Signature at top without signature skips first paragraph



commit 98de4da9cda7bd35b80152a9715f5701dd204bef
Author: Milan Crha <mcrha redhat com>
Date:   Thu Feb 9 12:58:09 2017 +0100

    Bug 778347 - Signature at top without signature skips first paragraph

 .../web-extension/e-editor-dom-functions.c         |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c 
b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index 94120c7..b89672d 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -7315,6 +7315,8 @@ process_node_to_plain_text_for_exporting (EEditorPage *editor_page,
 
                                remove_node (child);
                                skip_node = TRUE;
+                               length--;
+                               ii--;
                                goto next;
                        }
                        g_free (id);


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