* src/xml.c (parse_region): Avoid creating spurious whiespace nodes.

See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00200.html
This commit is contained in:
T.V. Raman 2011-04-08 12:15:30 -04:00 committed by Chong Yidong
parent e0d38eebb3
commit 87302331c2
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-04-08 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
* xml.c (parse_region): Avoid creating spurious whiespace nodes.
2011-04-08 Chong Yidong <cyd@stupidchicken.com>
* keyboard.c (read_char): Call Lisp function help-form-show,

View file

@ -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)
{