]> git.eshelyaron.com Git - emacs.git/commitdiff
(xml-parse-tag): Allow spaces between / and >.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Dec 2002 17:04:58 +0000 (17:04 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 16 Dec 2002 17:04:58 +0000 (17:04 +0000)
lisp/xml.el

index a495721330fc54279706a98f72367d3214d2c113..cd992502535acb3ad7856e72cf243ba930641bc9 100644 (file)
@@ -219,7 +219,7 @@ Returns one of:
           pos)
 
       ;; is this an empty element ?
-      (if (looking-at "/>")
+      (if (looking-at "/[ \t\n]*>")
          (progn
            (forward-char 2)
            (nreverse (cons '("") children)))