summaryrefslogtreecommitdiff
path: root/lisp/xml.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/xml.el')
-rw-r--r--lisp/xml.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el
index f7b54048d3a..39a8da0f337 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -421,7 +421,8 @@ Returns one of:
;; skip comments
((looking-at "<!--")
(search-forward "-->")
- nil)
+ (skip-syntax-forward " ")
+ (xml-parse-tag parse-dtd xml-ns))
;; end tag
((looking-at "</")
'())