From d2df2a5e2276d365ed34567e65b6b6b92853f1e0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 20 Nov 2024 11:06:36 -0600 Subject: [PATCH] Linkify profile field values --- src/views/mastodon/accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/mastodon/accounts.ts b/src/views/mastodon/accounts.ts index 9b13efbf..025737c3 100644 --- a/src/views/mastodon/accounts.ts +++ b/src/views/mastodon/accounts.ts @@ -79,7 +79,7 @@ async function renderAccount( discoverable: true, display_name: name ?? '', emojis: renderEmojis(event), - fields, + fields: fields.map((field) => ({ ...field, value: parseNoteContent(field.value, []).html })), follow_requests_count: 0, followers_count: event.author_stats?.followers_count ?? 0, following_count: event.author_stats?.following_count ?? 0,