From: Frédéric Perrin Date: Sun, 29 Mar 2015 10:23:25 +0000 (+0100) Subject: Use hex notation for entities X-Git-Url: https://gitweb.fperrin.net/?p=atom.git;a=commitdiff_plain;h=ed7d99f83fafe4f60eac3d5416212e6c9af010af Use hex notation for entities That's what recentish xml.el seems to expect (used to work fine for emacs23) --- diff --git a/atom.el b/atom.el index 0a4b61e..c4224b8 100644 --- a/atom.el +++ b/atom.el @@ -123,7 +123,7 @@ probably not a very good default. ID defaults to LINK, which is not optimal; see `atom-generate-id' for a way to create good identifiers. For a given entry, it must not change between successive generations of the atom feed, even -when the content of the entry ." +when the content of the entry changes." (let ((entry (list (list 'title nil title)))) (atom-modify-entry entry 'link (list (list (cons 'href link)))) (atom-modify-entry entry 'id (or id link)) diff --git a/xml-xhtml-entities.el b/xml-xhtml-entities.el index 9211562..a14a1d9 100644 --- a/xml-xhtml-entities.el +++ b/xml-xhtml-entities.el @@ -153,9 +153,9 @@ ;; C0 Controls and Basic Latin ("quot" . "\"") ;; quotation mark, U+0022 ISOnum - ("amp" . "&") ;; ampersand, U+0026 ISOnum - ("lt" . "<") ;; less-than sign, U+003C ISOnum - ("gt" . ">") ;; greater-than sign, U+003E ISOnum + ("amp" . "&") ;; ampersand, U+0026 ISOnum + ("lt" . "<") ;; less-than sign, U+003C ISOnum + ("gt" . ">") ;; greater-than sign, U+003E ISOnum ("apos" . "'") ;; apostrophe = APL quote, U+0027 ISOnum ;; Latin Extended-A