]> git.eshelyaron.com Git - emacs.git/commitdiff
(xml-parse-tag): Fix finding opening tag. A tag name
authorKenichi Handa <handa@m17n.org>
Wed, 29 Nov 2000 00:38:36 +0000 (00:38 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 29 Nov 2000 00:38:36 +0000 (00:38 +0000)
should not contain `\n'.

lisp/xml.el

index 4a73810741035034b487864e1f673fc0bc08f1bc..a7d2ba48ef536d61ef6e8561e0e2aee0a9b53bd9 100644 (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)