Linkify profile field values

This commit is contained in:
Alex Gleason 2024-11-20 11:06:36 -06:00
parent c25fd366a9
commit d2df2a5e22
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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,