diff --git a/src/mfm/toHtml.ts b/src/mfm/toHtml.ts index 58976fc2c3..8289288d3b 100644 --- a/src/mfm/toHtml.ts +++ b/src/mfm/toHtml.ts @@ -136,7 +136,7 @@ export function toHtml(tokens: MfmForest | null, mentionedRemoteUsers: IMentione default: const remoteUserInfo = mentionedRemoteUsers.find(remoteUser => remoteUser.username === username && remoteUser.host === host); a.href = remoteUserInfo ? remoteUserInfo.uri : `${config.url}/${acct}`; - a.className = 'mention'; + a.className = 'u-url mention'; break; } a.textContent = acct;