First time posting an image since Mastodon’s latest update, and it doesn’t work. (I know there was this API change, but I thought I wouldn’t be affected. Unless there’s something else I’m doing wrong. Let’s see.)
Turns out styling other people's markup is hard, because of the many inconsistencies. Some folks use paragraphs inside blockquotes, others don't. And so on. The microformats parser I'm using seems to turn embedded Tweets into blockquotes, too, which can result in blockquotes inside blockquotes ... Thinking of just excluding replies and what not. Thinking maybe nobody's waiting for all of this anyway, and plain old RSS is difficult enough, and all we'll ever need.
A bit of `wpautop()` and creative CSS to the rescue! (Let's see if we can improve parsing, too ... Like, later.)
`wpautop()` can totally mess up markup with unnecessary spaces and newlines in it. Running things through an HTML minifier upfront works around that.
But of course breaks some—not all!—preformatted text.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!