summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>2008-07-31 17:26:49 -0400
committerJoey Hess <joey@kitenet.net>2008-07-31 17:26:49 -0400
commit53001f901106ec1846eded1de336083537b7f160 (patch)
tree72ca71297d489772ba16a65c4cf0708e105804aa
parentcbcf52064b893d0078a339963b994edf6b0fb328 (diff)
-rw-r--r--doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn6
1 files changed, 6 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
index d89fe0502..7ba95fb4b 100644
--- a/doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn
+++ b/doc/bugs/HTML_inlined_into_Atom_not_necessarily_well-formed.mdwn
@@ -6,9 +6,15 @@ Possible solutions:
> Are there any particular downsides to doing that ..? --[[Joey]]
+>> It's the usual XHTML/HTML distinction. type="html" will always be interpreted as "tag soup", I believe - this may lead to it being rendered differently in some browsers. In general ikiwiki seems to claim to produce XHTML (at least, the default page.tmpl makes it claim to be XHTML Strict). On the other hand, this is a much simpler solution... see escape-feed-html branch in my repository, which I'm now using instead --[[smcv]]
+
* 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](http://git.debian.org/?p=users/smcv/ikiwiki.git;a=commitdiff;h=c0eb041c65d0653bacf0d4acb7a602e9bda8888e))
+>> I can see why you think this is excessively complex! --[[smcv]]
+
(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?)
> Can't see why? --[[Joey]]
+
+>> For a start, `]]>` in content wouldn't break the feed :-) but I was really thinking of non-XML, non-SGML parsers (more tag soup) that don't understand CDATA (I've suffered from CDATA damage when feeding generated code through gtkdoc, for instance). --[[smcv]]