changeset 33977:fd338013d333

(xml-parse-tag): Fix finding opening tag. A tag name should not contain `\n'.
author Kenichi Handa <handa@m17n.org>
date Wed, 29 Nov 2000 00:38:36 +0000
parents aa16624d9a1c
children 9aa3fd6779f7
files lisp/xml.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/xml.el	Wed Nov 29 00:38:16 2000 +0000
+++ b/lisp/xml.el	Wed Nov 29 00:38:36 2000 +0000
@@ -203,7 +203,7 @@
    ((looking-at "</")
     '())
    ;;  opening tag
-   ((looking-at "<\\([^/> \t]+\\)")
+   ((looking-at "<\\([^/> \t\n]+\\)")
     (let* ((node-name (match-string 1))
 	   (children (list (intern node-name)))
 	   pos)