diff --git a/src/mfm/html-to-mfm.ts b/src/mfm/html-to-mfm.ts index daa228ec51..e8b1564958 100644 --- a/src/mfm/html-to-mfm.ts +++ b/src/mfm/html-to-mfm.ts @@ -49,6 +49,9 @@ export default function(html: string): string { text += txt; break; } + // メンション以外 + } else { + text += `[${txt}](${node.attrs.find((x: any) => x.name == 'href').value})` } if (node.childNodes) {