aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-07-28 19:19:09 +0800
committerTomas Popela <tpopela@redhat.com>2014-07-29 00:37:16 +0800
commit2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915 (patch)
tree4320586725b42298204ae119e91fa26e1458e99d
parentedc4517cac9d71fb851fe9e58eb07c47db6c2c49 (diff)
downloadgsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.tar
gsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.tar.gz
gsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.tar.bz2
gsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.tar.lz
gsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.tar.xz
gsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.tar.zst
gsoc2013-evolution-2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915.zip
EHTMLEditorView - Avoid wrapping of the preformatted block when it is inside the quoted text
-rw-r--r--e-util/e-html-editor-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 788d9bfb16..bac4e0ed47 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -852,7 +852,7 @@ body_input_event_cb (WebKitDOMElement *element,
}
/* We have to process elements only inside normal block */
- parent = webkit_dom_node_get_parent_node (WEBKIT_DOM_NODE (element));
+ parent = WEBKIT_DOM_NODE (get_parent_block_element (WEBKIT_DOM_NODE (element)));
if (WEBKIT_DOM_IS_HTML_PRE_ELEMENT (parent)) {
e_html_editor_selection_restore (selection);
return;