MbinOrg / mbin

Mbin: a federated content aggregator, voting, discussion and microblogging platform (By the community, for the community)
https://joinmbin.org
GNU Affero General Public License v3.0
230 stars 17 forks source link

Strikethrough missing from federated Mastodon post #1189

Open pbackus opened 1 day ago

pbackus commented 1 day ago

Describe the bug

When a federated Mastodon post is viewed in Mbin, text that has a strikethrough on the original Mastodon instance is displayed without one on Mbin.

On which Mbin instance did you find the bug?

fedia.io

Which Mbin version was running on the instance?

1.7.2

To Reproduce

  1. View a post with strikethrough on Mastodon (e.g., https://pony.social/@luna/113250544308288695)
  2. View the same post on Mbin (e.g., https://fedia.io/m/random/p/899560/I-m-curious-about-the-state-of-formatting-support-across-the)

Expected behavior

The strikethrough should be displayed when viewing the post on Mbin.

Screenshots

Original Mastodon post: image

Appearance on fedia.io: image

Desktop (please complete the following information):

BentiGorlich commented 23 hours ago

The problem is probably in our html to markdown converter which seems to not support strikethroughs

pbackus commented 22 hours ago

Relevant discussion here: https://github.com/thephpleague/html-to-markdown/issues/185