[evolution/webkit-composer: 90/231] Fix handling citation in EEditorSelection::get_has_style()
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer: 90/231] Fix handling citation in EEditorSelection::get_has_style()
- Date: Fri, 13 Sep 2013 14:13:33 +0000 (UTC)
commit 36bf498f930d518a3593b9e4c5af8d1e70c04337
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 2cd5079..f370e62 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]