chore: add attribution
This commit is contained in:
parent
a2161ccb53
commit
d49cc29923
@ -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 New Issue
Block a user