# HG changeset patch # User Mike Williams # Date 1017665074 0 # Node ID a87795faf65b4885040587061050da2de8f49737 # Parent a1bba2ef8c345d72cd0b01de10880a46d37a20b5 (xml-lite-parse-tag-backward): Fix for implicitly empty tags. diff -r a1bba2ef8c34 -r a87795faf65b lisp/textmodes/xml-lite.el --- a/lisp/textmodes/xml-lite.el Mon Apr 01 12:43:47 2002 +0000 +++ b/lisp/textmodes/xml-lite.el Mon Apr 01 12:44:34 2002 +0000 @@ -110,7 +110,8 @@ (t ; open or empty tag (setq tag-type 'open name (xml-lite-parse-tag-name)) - (if (eq ?/ (char-before (- tag-end 1))) + (if (or (eq ?/ (char-before (- tag-end 1))) + (sgml-empty-tag-p name)) (setq tag-type 'empty)))))) (goto-char tag-start) (xml-lite-make-tag tag-type tag-start tag-end name)))