From a664862cda9ab53dad57b23ebf4c1374495d7043 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 9 Dec 2021 23:19:56 +0100 Subject: Add RSS mdash fix --- rss.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 rss.md diff --git a/rss.md b/rss.md new file mode 100644 index 0000000..00cc55d --- /dev/null +++ b/rss.md @@ -0,0 +1,13 @@ +# On RSS feeds + +As per https://stackoverflow.com/a/11787940 + +> The specification has lacked clarity regarding whether HTML is permitted in +> elements other than an item's description, leading to wide variance in how +> aggregators treat character data in other elements. This makes it especially +> difficult for a publisher to determine how to encode the characters "&" and +> "<", which must be encoded in XML. + +`&`, `—`, etc won't work in XML title tags. This will break some feed +readers entirely (e.g. Thunderbird). Fix by using hexcode (e.g. for mdash: +`—`) -- cgit v1.2.3