1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(xml-parse-tag): Fix finding opening tag. A tag name

should not contain `\n'.
This commit is contained in:
Kenichi Handa 2000-11-29 00:38:36 +00:00
parent 8f4b5f287a
commit af9bd5396c

View File

@ -203,7 +203,7 @@ Returns one of:
((looking-at "</")
'())
;; opening tag
((looking-at "<\\([^/> \t]+\\)")
((looking-at "<\\([^/> \t\n]+\\)")
(let* ((node-name (match-string 1))
(children (list (intern node-name)))
pos)