(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>.
This commit is contained in:
parent
4e6277d8de
commit
f58176e6fe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue