Commit 1e98674d authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* xml.c (make_dom): Return comments, too.

parent bfa4f190
2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
* xml.c (make_dom): Return comments, too.
2011-07-19 Paul Eggert <eggert@cs.ucla.edu>
Port to OpenBSD.
......
......@@ -71,6 +71,14 @@ make_dom (xmlNode *node)
else
return Qnil;
}
else if (node->type == XML_COMMENT_NODE)
{
if (node->content)
return list3 (intern ("comment"), Qnil,
build_string ((char *) node->content));
else
return Qnil;
}
else
return Qnil;
}
......
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