* xml.el (xml-parse-tag): Corrrectly handle comment embedded in non-tag text.

This commit is contained in:
Chong Yidong
2012-06-24 23:06:24 +08:00
parent 0eb4e0df7a
commit 772b2e2ce2
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2012-06-24 Chong Yidong <cyd@gnu.org>
* xml.el (xml-parse-tag): Correctly handle comment embedded in
non-tag text.
2012-06-23 Juanma Barranquero <lekktu@gmail.com>
* makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.

View File

@@ -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 "</")
'())