1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

rss: remove check for rss_renderer->text that is already done above

This commit is contained in:
Jonas Fonseca 2007-08-29 02:04:08 +02:00
parent 8c4191fe87
commit 19b271e417

View File

@ -116,10 +116,8 @@ dom_rss_pop_element(struct dom_stack *stack, struct dom_node *node, void *xxx)
* We are getting rid of "inner HTML". */
list = get_dom_node_list(node->parent, node);
done_dom_node_list(*list);
if (is_dom_string_set(&data->text)) {
if (!add_dom_node(node, DOM_NODE_TEXT, &data->text))
done_dom_string(&data->text);
}
if (!add_dom_node(node, DOM_NODE_TEXT, &data->text))
done_dom_string(&data->text);
data->node = NULL;
break;