[evolution/wip/webkit2] EHTMLEditorSelection - Roman Numeral and Alphabetical list formats are not detected
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorSelection - Roman Numeral and Alphabetical list formats are not detected
- Date: Fri, 26 Feb 2016 09:55:09 +0000 (UTC)
commit 75f6e7c950a8cf81f9196e92622913c2ce929e43
Author: Tomas Popela <tpopela redhat com>
Date: Fri Feb 26 10:37:44 2016 +0100
EHTMLEditorSelection - Roman Numeral and Alphabetical list formats are not detected
.../e-html-editor-selection-dom-functions.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-selection-dom-functions.c
b/web-extensions/composer/e-html-editor-selection-dom-functions.c
index f0f57df..3323d8c 100644
--- a/web-extensions/composer/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-selection-dom-functions.c
@@ -4838,7 +4838,7 @@ dom_selection_get_block_format (WebKitDOMDocument *document,
else
result = dom_get_list_format_from_node (WEBKIT_DOM_NODE (tmp_element));
} else
- result = E_HTML_EDITOR_SELECTION_BLOCK_FORMAT_ORDERED_LIST;
+ result = dom_get_list_format_from_node (WEBKIT_DOM_NODE (element));
} else if (dom_node_find_parent_element (node, "PRE")) {
result = E_HTML_EDITOR_SELECTION_BLOCK_FORMAT_PRE;
} else if (dom_node_find_parent_element (node, "ADDRESS")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]