I've seen the raw HTML for some #piefed post content showing in the spoilerText field on some platforms via the mastodon api, including #gotosocial, #neodb (takahe/incarnator) and I think #pleroma. My current kludge is to check the spoilerText for html tags (specifically, a beginning <p>).