Merge branch 'stable' into merge-stable-into-develop
This commit is contained in:
commit
ac905118cc
19 changed files with 121 additions and 147 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue