1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05: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". */ * We are getting rid of "inner HTML". */
list = get_dom_node_list(node->parent, node); list = get_dom_node_list(node->parent, node);
done_dom_node_list(*list); done_dom_node_list(*list);
if (is_dom_string_set(&data->text)) {
if (!add_dom_node(node, DOM_NODE_TEXT, &data->text)) if (!add_dom_node(node, DOM_NODE_TEXT, &data->text))
done_dom_string(&data->text); done_dom_string(&data->text);
}
data->node = NULL; data->node = NULL;
break; break;