changeset 48869:00120418fc70

(xml-parse-tag): Allow spaces between / and >.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 16 Dec 2002 17:04:58 +0000
parents 3395df62dc04
children a111c3df36c3
files lisp/xml.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/xml.el	Mon Dec 16 16:22:41 2002 +0000
+++ b/lisp/xml.el	Mon Dec 16 17:04:58 2002 +0000
@@ -219,7 +219,7 @@
 	   pos)
 
       ;; is this an empty element ?
-      (if (looking-at "/>")
+      (if (looking-at "/[ \t\n]*>")
 	  (progn
 	    (forward-char 2)
 	    (nreverse (cons '("") children)))