aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/xml.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2002-12-16 17:04:58 +0000
committerStefan Monnier <[email protected]>2002-12-16 17:04:58 +0000
commit6a9cb3ba1fd714f4a0f60ad0050a9d81518e8168 (patch)
tree8f417fe1eda35e7200227c17c52e4c89692adeb8 /lisp/xml.el
parent3af9d2cf6925c8f087865f7c22baf15e991bb598 (diff)
(xml-parse-tag): Allow spaces between / and >.
Diffstat (limited to 'lisp/xml.el')
-rw-r--r--lisp/xml.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el
index a495721330..cd99250253 100644
--- a/lisp/xml.el
+++ b/lisp/xml.el
@@ -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)))