Commit 87302331 authored by T.V. Raman's avatar T.V. Raman Committed by Chong Yidong

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

See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00200.html
parent e0d38eeb
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,
......
......@@ -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)
{
......
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