summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/xml.el2
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