(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 4a73810..a7d2ba4 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)