blob: 09ff0e335d594ee6e75aac666fa840f3f2d52861 (
plain)
If a blog entry contains a HTML named entity, such as the — produced by [[plugins/rst]] for blockquote citations, it's pasted into the Atom feed as-is. However, Atom feeds don't have a DTD, so named entities beyond < , > , " , & and ' aren't well-formed XML.
Possible solutions:
-
Put HTML in Atom feeds as type="html" (and use ESCAPE=HTML) instead
-
Keep HTML in Atom feeds as type="xhtml", but replace named entities with numeric ones,
like in the re-escape-entities branch in my repository (diff here)
(Also, the HTML in RSS feeds would probably get better interoperability if it was escaped with ESCAPE=HTML rather than being in a CDATA section?)
|