mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 01:41:01 -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 "/>")
|
(if (looking-at "/>")
|
||||||
(progn
|
(progn
|
||||||
(forward-char 2)
|
(forward-char 2)
|
||||||
;; Fixme: Inconsistent with the nil content returned from
|
(nreverse children))
|
||||||
;; `<tag></tag>'.
|
|
||||||
(nreverse (cons '("") children)))
|
|
||||||
|
|
||||||
;; is this a valid start tag ?
|
;; is this a valid start tag ?
|
||||||
(if (eq (char-after) ?>)
|
(if (eq (char-after) ?>)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue