diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-09-24 09:26:53 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-09-24 09:26:53 +0000 |
commit | f58176e6fee6685419e44ccbb07c69d228211651 (patch) | |
tree | 574b6663e65221f9e249915bc8816aa746481628 /lisp | |
parent | 4e6277d8de6bcfec581c7e9be07d85a2df46afe9 (diff) | |
download | emacs-f58176e6fee6685419e44ccbb07c69d228211651.tar.gz |
(xml-parse-attlist): Quotes around attributes must be the
same on each side. Make sure we properly handle simple quotes.
From Daiki Ueno <ueno@unixuser.org>.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/xml.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/xml.el b/lisp/xml.el index ac27b776b95..23d4e5d25b1 100644 --- a/lisp/xml.el +++ b/lisp/xml.el @@ -290,7 +290,7 @@ Leaves the point on the first non-blank character after the tag." ;; Do we have a string between quotes (or double-quotes), ;; or a simple word ? (unless (looking-at "\"\\([^\"]+\\)\"") - (unless (looking-at "'\\([^\"]+\\)'") + (unless (looking-at "'\\([^']+\\)'") (error "XML: Attribute values must be given between quotes"))) ;; Each attribute must be unique within a given element |