From 772b2e2ce207fd747583aa51e3495aa37b1eede1 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 24 Jun 2012 23:06:24 +0800 Subject: * xml.el (xml-parse-tag): Corrrectly handle comment embedded in non-tag text. --- lisp/xml.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/xml.el') diff --git a/lisp/xml.el b/lisp/xml.el index cb56f023af0..d1e824c4ece 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -424,7 +424,8 @@ Returns one of: (search-forward "-->") (skip-syntax-forward " ") (unless (eobp) - (xml-parse-tag parse-dtd xml-ns))) + (let ((xml-sub-parser t)) + (xml-parse-tag parse-dtd xml-ns)))) ;; end tag ((looking-at "