[evolution/wip/webkit-composer: 601/966] Fix handling citation in EEditorSelection::get_has_style()
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 601/966] Fix handling citation in EEditorSelection::get_has_style()
- Date: Wed, 23 Apr 2014 10:43:57 +0000 (UTC)
commit 0b25a336437d86e7d81a77f3a16189c03e9ad605
Author: Dan Vrátil <dvratil redhat com>
Date: Sun Dec 2 12:27:02 2012 +0100
Fix handling citation in EEditorSelection::get_has_style()
e-util/e-editor-selection.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-selection.c b/e-util/e-editor-selection.c
index 5ab2fb2..12c365f 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -132,7 +132,8 @@ get_has_style (EEditorSelection *selection,
element_tag = webkit_dom_element_get_tag_name (element);
if (g_ascii_strncasecmp (style_tag, "citation", 8) == 0) {
- result = ((tag_len == 10 /* strlen ("blockquote") */) &&
+ accept_citation = TRUE;
+ result = ((strlen (element_tag) == 10 /* strlen ("blockquote") */) &&
(g_ascii_strncasecmp (element_tag, "blockquote", 10) == 0));
} else {
result = ((tag_len == strlen (element_tag)) &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]