mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(xml-parse-tag): Return (foo nil) rather than (foo nil "")
for <foo/>, to make it behave like <foo></foo>.
This commit is contained in:
parent
e251428378
commit
aba7ce7740
1 changed files with 1 additions and 3 deletions
|
|
@ -274,9 +274,7 @@ Returns one of:
|
|||
(if (looking-at "/>")
|
||||
(progn
|
||||
(forward-char 2)
|
||||
;; Fixme: Inconsistent with the nil content returned from
|
||||
;; `<tag></tag>'.
|
||||
(nreverse (cons '("") children)))
|
||||
(nreverse children))
|
||||
|
||||
;; is this a valid start tag ?
|
||||
(if (eq (char-after) ?>)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue