Commit f0811108 authored by Tomas Popela's avatar Tomas Popela

EHTMLEditorSelection - Remove code that was committed by mistake

parent 6ad8f92b
......@@ -5953,7 +5953,6 @@ wrap_lines (EHTMLEditorSelection *selection,
next_sibling = webkit_dom_node_get_next_sibling (node);
/* If the anchor doesn't fit on the line wrap after it */
if (anchor_length > word_wrap_length) {
WebKitDOMElement *removed_link;
WebKitDOMNode *inner_node;
while ((inner_node = webkit_dom_node_get_first_child (node))) {
......@@ -5964,17 +5963,6 @@ wrap_lines (EHTMLEditorSelection *selection,
NULL);
}
next_sibling = webkit_dom_node_get_next_sibling (node);
removed_link =
webkit_dom_document_create_element (
document, "SPAN", NULL);
webkit_dom_element_set_attribute (
removed_link, "data-removed-link", "", NULL);
webkit_dom_node_insert_before (
webkit_dom_node_get_parent_node (node),
WEBKIT_DOM_NODE (removed_link),
node,
NULL);
remove_node (node);
node = next_sibling;
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment