diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-07-28 19:19:09 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-07-29 00:37:16 +0800 |
commit | 2d9a406dc8d6d8a1a01d2670b5ae6e1641a38915 (patch) | |
tree | 4320586725b42298204ae119e91fa26e1458e99d /e-util | |
parent | edc4517cac9d71fb851fe9e58eb07c47db6c2c49 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-html-editor-view.c | 2 |
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; |