Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
fedicat
fedicat
@fedicat@pc.cafe  路  activity timestamp 6 days ago

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>).

snippet of a post showing the raw html of the post content displayed as a spoiler/warning
snippet of a post showing the raw html of the post content displayed as a spoiler/warning
snippet of a post showing the raw html of the post content displayed as a spoiler/warning
  • Copy link
  • Flag this post
  • Block
Chee Aun 馃
Chee Aun 馃
@cheeaun@mastodon.social replied  路  activity timestamp 6 days ago

@fedicat but what if it's a false positive, as in the <p> is intentional? 馃檲

  • Copy link
  • Flag this comment
  • Block
fedicat
fedicat
@fedicat@pc.cafe replied  路  activity timestamp 6 days ago

@cheeaun ah, that doesn鈥檛 work, it鈥檚 html on neodb but plaintext on gotosocial plus sensitive is set differently

post on neodb with html in the spoiler text and sensitive false
post on neodb with html in the spoiler text and sensitive false
post on neodb with html in the spoiler text and sensitive false
post on gotosocial with a plain text spoiler text field and sensitive set to true
post on gotosocial with a plain text spoiler text field and sensitive set to true
post on gotosocial with a plain text spoiler text field and sensitive set to true
post on mastodon without a spoiler text field and sensitive false
post on mastodon without a spoiler text field and sensitive false
post on mastodon without a spoiler text field and sensitive false
  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About 路 Code of conduct 路 Privacy 路
Bonfire social 路 1.0.1-beta.22 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct