mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-14 03:37:38 -08:00
(xml-lite-parse-tag-backward): Fix for implicitly empty tags.
This commit is contained in:
parent
9c59951810
commit
2407f4e124
1 changed files with 2 additions and 1 deletions
|
|
@ -110,7 +110,8 @@ Leave point at the beginning of the tag."
|
|||
(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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue