m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-09 23:19:56 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-09 23:19:56 +0100
commita664862cda9ab53dad57b23ebf4c1374495d7043 (patch)
tree875f3902a17b8ab130ec18c7e9d67d67eaa00dd7
parent02774ddc7bc0576aa3972bd71d598a449aba66d7 (diff)
Add RSS mdash fix
-rw-r--r--rss.md13
1 files changed, 13 insertions, 0 deletions
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.
+
+`&amp;`, `&mdash;`, 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:
+`&#x2014;`)