[evolution/webkit-composer: 91/130] Fix handling citation in EEditorSelection::get_has_style()
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer: 91/130] Fix handling citation in EEditorSelection::get_has_style()
- Date: Sat, 19 Jan 2013 14:34:45 +0000 (UTC)
commit 6b422348bac9994d1355d95b49d08104976250c7
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]