feditext / feditext

A free, open-source iOS client for Mastodon, Glitch, GotoSocial, Iceshrimp, Akkoma, and other Mastodon-API-compatible Fediverse instance servers.
https://mastodon.social/@Feditext
GNU General Public License v3.0
177 stars 8 forks source link

Siren does something very weird when there are HTML tags in the post body, a read more, and a poll #318

Open Qyriad opened 10 months ago

Qyriad commented 10 months ago

Describe the bug When there are HTML tags in the post text in a post long enough to get the "Show more" prompt, and it contains a poll you haven't yet voted in, it doesn't seem to render past the first paragraph, and renders the vote button as a massive squircle.

I discovered this when coming across this post, which Feditext with Siren rendered like this: image

To Reproduce Steps to reproduce the behavior:

  1. Create a post long enough to cause the "show more" prompt
  2. Add HTML tags in the post body (reproduced on vanilla Mastodon, no markdown or other rich text)
  3. Add a poll
  4. View on another account, and see the weird rendering until that account has voted in the poll

(please complete the following information):

VyrCossont commented 9 months ago

Yeah that's… not supposed to be like that. Thanks for the repro!

Lunaphied commented 2 months ago

I can confirm that this no longer happens with: