diff --git a/packages/backend/src/core/MfmService.ts b/packages/backend/src/core/MfmService.ts index 91690aec1b..67c5d58ef5 100644 --- a/packages/backend/src/core/MfmService.ts +++ b/packages/backend/src/core/MfmService.ts @@ -389,6 +389,8 @@ export class MfmService { return `

${doc.body.innerHTML}

`; } + // the toMastoHtml function was taken from Iceshrimp and written by zotan and modified by marie to work with the current MK version + @bindThis public async toMastoHtml(nodes: mfm.MfmNode[] | null, mentionedRemoteUsers: IMentionedRemoteUsers = [], inline = false, quoteUri: string | null = null) { if (nodes == null) {