@bunnyhero@octodon.social I wonder if the API even returns linkification metadata. Unfortunately I suspect it doesn't and it might be up to the client's discretion.
@bunnyhero@octodon.social Which is making me think that an API extension that returns that data would be useful. Something like the way Twitter handles media entities - indices marking the beginning and end in the text of a recognized handle, and metadata about what the display name and target URI (or target instance and target username?) are.
@bunnyhero@octodon.social Here we go: https://github.com/tootsuite/mastodon/issues/2012 It's not a part of the OStatus standard, it's a Mastodon specific thing. Gargron hasn't commented, but it appears that the format isn't specifically documented right now - whatever the core Mastodon Rails app does is canonical, and its API presumably doesn't return sufficient metadata to make the same decisions.