IceCubesApp icon indicating copy to clipboard operation
IceCubesApp copied to clipboard

Bug: The toot is not rendered properly

Open Cyrivs89 opened this issue 3 years ago • 5 comments

Environment:

  • OS: iOS v16.3
  • IceCubesApp version: IceCubesApp v1.4.8

Description

The toot is not rendered correctly. As you can see in the images, in the application it does not display the last newline before Thanks!, while in the web, or in other applications, this problem does not occur. IMG_8671 IMG_8672

Related Issues

  • [ ] Search that this bugs don't already exist before creating it.

Cyrivs89 avatar Feb 14 '23 11:02 Cyrivs89

@xurble :D

Dimillian avatar Feb 14 '23 14:02 Dimillian

Could I get a link to that toot please?

xurble avatar Feb 15 '23 22:02 xurble

Sure.

https://infosec.exchange/@Cyrivs89/109834584187282600

Cyrivs89 avatar Feb 16 '23 03:02 Cyrivs89

OK, so this is weird. It's something to do with the custom emoji, but I can't reproduce it, even if I repost the toot in question myself (admittedly I can't exactly reproduce it as my instance has a smaller post size limit and different custom emoji, but still).

Anyhoo, it comes out of HTMLString correctly like so: Screenshot 2023-02-16 at 07 34 03

Then EmojiText correctly tokenises it and inserts placeholders while it fetches the images: Screenshot 2023-02-16 at 07 34 25

And then the placeholders are replaced with the actual images and the last line jumps upward 😬 Screenshot 2023-02-16 at 07 34 36

xurble avatar Feb 16 '23 07:02 xurble

Fun fact. I have tried all the clients.

  1. This only happens in Ice Cubes.
  2. But its not as bad as Mammoth that chokes on the post completely
  3. The blinking cursor animated emoji is only correctly rendered in tooot & the official mastodon client

xurble avatar Feb 16 '23 07:02 xurble