[evolution/wip/webkit2] Bug 746876 - Signature's empty new line at the end of text/plain lost on edit
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 746876 - Signature's empty new line at the end of text/plain lost on edit
- Date: Wed, 24 Feb 2016 10:14:57 +0000 (UTC)
commit 0cc631dfba06104a7e8a79be3462fb216af93de8
Author: Tomas Popela <tpopela redhat com>
Date: Wed Feb 24 11:14:53 2016 +0100
Bug 746876 - Signature's empty new line at the end of text/plain lost on edit
.../composer/e-html-editor-view-dom-functions.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-view-dom-functions.c
b/web-extensions/composer/e-html-editor-view-dom-functions.c
index c4cee66..b935f99 100644
--- a/web-extensions/composer/e-html-editor-view-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-view-dom-functions.c
@@ -4056,7 +4056,9 @@ parse_html_into_paragraphs (WebKitDOMDocument *document,
element_add_class (
WEBKIT_DOM_ELEMENT (child),
"-x-evo-last-br");
- }
+ } else
+ create_and_append_new_paragraph (
+ document, extension, blockquote, block, "<br>");
} else
create_and_append_new_paragraph (
document, extension, blockquote, block, "<br>");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]