From: T.V. Raman Date: Fri, 8 Apr 2011 16:15:30 +0000 (-0400) Subject: * src/xml.c (parse_region): Avoid creating spurious whiespace nodes. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~366 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87302331c2eec82bd19414b4f8c76450d6637eae;p=emacs.git * src/xml.c (parse_region): Avoid creating spurious whiespace nodes. See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00200.html --- diff --git a/src/ChangeLog b/src/ChangeLog index 7f0dc9a8e26..dc06f81d972 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-04-08 T.V. Raman (tiny change) + + * xml.c (parse_region): Avoid creating spurious whiespace nodes. + 2011-04-08 Chong Yidong * keyboard.c (read_char): Call Lisp function help-form-show, diff --git a/src/xml.c b/src/xml.c index d8e6f8c3faa..63041c96b24 100644 --- a/src/xml.c +++ b/src/xml.c @@ -113,7 +113,7 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html doc = xmlReadMemory ((char *) BYTE_POS_ADDR (CHAR_TO_BYTE (istart)), bytes, burl, "utf-8", XML_PARSE_NONET|XML_PARSE_NOWARNING| - XML_PARSE_NOERROR); + XML_PARSE_NOBLANKS |XML_PARSE_NOERROR); if (doc != NULL) {