Remove HTML code from ActivityPub federated posts

Ok, this is a potential corner case but maybe still interesting.

Posts imported with rss-polling contain HTML code. If these posts are federated, most of the HTML code breaks and goes through as plain text.

In an ideal world, at least links would be translated. But if this is too much hassle, at the very least it would be good to scrap the HTML code, leaving the text.

A couple of screenshots to illustrate the problem:

Discourse topic imported via RSS:

This is how it looks on Mastodon:

Why are we federating posts imported via RSS? The use case is: we are a community of podcasts, we import new episodes via RSS for listeners to like and comment in one place, and we want to offer these podcasts a window to the Fediverse, where they might get more listeners, comments and likes – without adding more work on their busy plates.