nshipster.com
nshipster.com copied to clipboard
Codeblocks don't render correctly in RSS readers
When this article is viewed in Safari, the first multiline codeblock looks like this:
But when it is viewed in an RSS reader like NetNewsWire it looks like this:
As I understand it, the contents of codeblocks are converted from plaintext (in the raw article) into a sequence of tiny span blocks, in the published html article, which are presumably indented and styled with CSS or Javascript.
The problem is that the RSS feed contains the converted codeblock contents, which do not indent correctly in RSS readers, without the special rendering CSS or Javascript.