[evolution] EHTMLEditorView - Insert quote symbols before HTML element when it has no previous sibling
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorView - Insert quote symbols before HTML element when it has no previous sibling
- Date: Mon, 23 Jun 2014 14:48:15 +0000 (UTC)
commit a4fb4775482c4dc728c456510331175170f9f7b1
Author: Tomas Popela <tpopela redhat com>
Date: Mon Jun 23 16:43:56 2014 +0200
EHTMLEditorView - Insert quote symbols before HTML element when it has no previous sibling
This fixes the situation when the paragraphs with just i.e. anchor were
not properly quoted.
e-util/e-html-editor-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 0b83d0e..5255be5 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -3898,6 +3898,10 @@ quote_plain_text_recursive (WebKitDOMDocument *document,
element_has_tag (WEBKIT_DOM_ELEMENT (node), "u");
if (is_html_node) {
+ if (!prev_sibling)
+ insert_quote_symbols_before_node (
+ document, node, quote_level, FALSE);
+
if (WEBKIT_DOM_IS_HTMLBR_ELEMENT (prev_sibling))
insert_quote_symbols_before_node (
document, prev_sibling, quote_level, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]