@Gargron, the content of Mastodon posts contains HTML elements, should it really be that way?
Is there a parameter we can pass to make it return the raw text?

Example:

@Gargron <p><a href="https://mastodon.social/users/naccib" class="mention">@<span>naccib</span></a> newMention</p>
@naccib Unfortunately there is no such thing as plain text version because the content we receive from federation is already formatted, we merely sanitize it. That is because only the original instance knows what and how to link