[evolution/wip/webkit-composer] EEditorWidget: Create paragraphs only when we have something to put there
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer] EEditorWidget: Create paragraphs only when we have something to put there
- Date: Thu, 13 Mar 2014 15:55:17 +0000 (UTC)
commit 35a594a8c990a28d79d44a37cd5fe1ca89109d49
Author: Tomas Popela <tpopela redhat com>
Date: Thu Mar 13 15:09:29 2014 +0100
EEditorWidget: Create paragraphs only when we have something to put there
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 16797be..851ad7b 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -2265,7 +2265,7 @@ parse_html_into_paragraphs (EEditorWidget *widget,
g_free (citation_mark);
}
- if (rest) {
+ if (rest && *rest){
webkit_dom_html_element_set_inner_html (
WEBKIT_DOM_HTML_ELEMENT (paragraph),
rest, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]