Mercurial > emacs
changeset 110303:fdcc2e819a9b
Remove some trailing white space.
author | Lars Magne Ingebrigtsen <larsi@gnus.org> |
---|---|
date | Fri, 10 Sep 2010 19:45:22 +0200 |
parents | fd8902911ce3 |
children | 9e6d02d51b19 |
files | src/xml.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xml.c Fri Sep 10 18:44:35 2010 +0200 +++ b/src/xml.c Fri Sep 10 19:45:22 2010 +0200 @@ -62,7 +62,7 @@ if (node->content) content = build_string (node->content); - + return Fcons (intern (node->name), content); } else return Qnil; @@ -76,21 +76,21 @@ Lisp_Object result; int ibeg, iend; char *burl = ""; - + LIBXML_TEST_VERSION; - + CHECK_STRING (string); if (! NILP (base_url)) { CHECK_STRING (base_url); burl = SDATA (base_url); } - + if (htmlp) doc = htmlReadMemory (SDATA (string), SBYTES (string), burl, "utf-8", HTML_PARSE_RECOVER|HTML_PARSE_NONET| HTML_PARSE_NOWARNING|HTML_PARSE_NOERROR); - else + else doc = xmlReadMemory (SDATA (string), SBYTES (string), burl, "utf-8", XML_PARSE_NONET|XML_PARSE_NOWARNING| XML_PARSE_NOERROR); @@ -99,11 +99,11 @@ node = xmlDocGetRootElement (doc); if (node != NULL) result = make_dom (node); - + xmlFreeDoc (doc); xmlCleanupParser (); } - + return result; }