Displaying @pixelfed post captions in our app must be easy, right?
Not really! I recently refactored this, and it's becoming quite complex.
Each caption is rendered using a pipeline of the following steps:
Normalize > Tokenize > Autolink > EntityRenderer > Accessibility > Read more > Style
When you tap on a mention, we check to see if it's remote (even if it's just the @ username), and use clever logic to load the profile even if the server doesn't know it yet.
Much better now, shippin soon
@pixelfed When you tap on a link, we check your preferences and open the link in your preferred browser (styled in dark or light mode).
We're adding a new accessibility setting to disable motion, so avatars, custom emojis and gifs will display a static, non moving image.
When you tap on a custom emoji, you'll be able to view a full screen version! This is new and will be shippin soon!