Untitled attachment
https://files.mastodon.social/media_attachments/files/110/621/979/559/478/828/original/9bd49f8b51640c64.jpg
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
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.