]> git.eshelyaron.com Git - emacs.git/commit
xml.el: remove incorrect and botched attribute whitespace collapse
authorMattias Engdegård <mattiase@acm.org>
Tue, 30 May 2023 08:38:06 +0000 (10:38 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 30 May 2023 15:46:06 +0000 (17:46 +0200)
commit9ae212fb1e5ef8cffd10ee174004caabf2027ba3
treea5f8365eee54dfb590d03f167bbce91003936be2
parent6e255ddfffa90d975eec62749c9acd385336f252
xml.el: remove incorrect and botched attribute whitespace collapse

* lisp/xml.el (xml-parse-attlist): Don't attempt to collapse multiple
consecutive whitespace characters into a single space, which is wrong
to do a this point when attributes must be assumed to be CDATA.

The code was actually unintentionally correct since it forgot to use
the return value of `replace-regexp-in-string` (bug#63740).
lisp/xml.el