chore: add attribution
This commit is contained in:
parent
a2161ccb53
commit
d49cc29923
1 changed files with 2 additions and 0 deletions
|
@ -389,6 +389,8 @@ export class MfmService {
|
||||||
return `<p>${doc.body.innerHTML}</p>`;
|
return `<p>${doc.body.innerHTML}</p>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the toMastoHtml function was taken from Iceshrimp and written by zotan and modified by marie to work with the current MK version
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public async toMastoHtml(nodes: mfm.MfmNode[] | null, mentionedRemoteUsers: IMentionedRemoteUsers = [], inline = false, quoteUri: string | null = null) {
|
public async toMastoHtml(nodes: mfm.MfmNode[] | null, mentionedRemoteUsers: IMentionedRemoteUsers = [], inline = false, quoteUri: string | null = null) {
|
||||||
if (nodes == null) {
|
if (nodes == null) {
|
||||||
|
|
Loading…
Reference in a new issue