diff options
author | http://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web> | 2008-07-30 17:25:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-07-30 17:25:36 -0400 |
commit | 0a176059bb55acfc201c7ca4705da849831adb8e (patch) | |
tree | e92851a3f8d2b73c277c3554bf3f3fdad4c39486 | |
parent | 5e85039dc3a329a064a0d3053bbca2ed066f5292 (diff) |
-rw-r--r-- | doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn b/doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn new file mode 100644 index 000000000..8bf97910d --- /dev/null +++ b/doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn @@ -0,0 +1,10 @@ +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: http://git.debian.org/?p=users/smcv/ikiwiki.git;a=commitdiff;h=c0eb041c65d0653bacf0d4acb7a602e9bda8888e + +(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?) |