diff options
Diffstat (limited to 'e-util/e-html-editor-view.c')
-rw-r--r-- | e-util/e-html-editor-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index 8b92b3d791..e5887ef3a6 100644 --- a/e-util/e-html-editor-view.c +++ b/e-util/e-html-editor-view.c @@ -220,7 +220,9 @@ get_parent_block_element (WebKitDOMNode *node) !WEBKIT_DOM_IS_HTML_QUOTE_ELEMENT (parent) && !WEBKIT_DOM_IS_HTMLU_LIST_ELEMENT (parent) && !WEBKIT_DOM_IS_HTMLO_LIST_ELEMENT (parent) && - !WEBKIT_DOM_IS_HTML_PRE_ELEMENT (parent)) { + !WEBKIT_DOM_IS_HTML_PRE_ELEMENT (parent) && + !WEBKIT_DOM_IS_HTML_HEADING_ELEMENT (parent) && + !element_has_tag (parent, "address")) { parent = webkit_dom_node_get_parent_element ( WEBKIT_DOM_NODE (parent)); } |