Merge branch 'stable' into merge-stable-into-develop

This commit is contained in:
Julia Johannesen 2025-04-27 16:19:44 -04:00
commit ac905118cc
No known key found for this signature in database
GPG key ID: 4A1377AF3E7FBC46
19 changed files with 121 additions and 147 deletions

View file

@ -506,9 +506,7 @@ export class ApRendererService {
const attachment = profile.fields.map(field => ({
type: 'PropertyValue',
name: field.name,
value: (field.value.startsWith('http://') || field.value.startsWith('https://'))
? `<a href="${new URL(field.value).href}" rel="me nofollow noopener" target="_blank">${new URL(field.value).href}</a>`
: field.value,
value: this.mfmService.toHtml(mfm.parse(field.value)),
}));
const emojis = await this.getEmojis(user.emojis);