mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-24 07:06:22 +09:00
Fix bug for Mastodon(?)
This commit is contained in:
parent
1edfce8f73
commit
54dcc10250
@ -4,7 +4,7 @@ import parse from '../../../mfm/parse';
|
||||
|
||||
export default function(note: INote) {
|
||||
let html = toHtml(parse(note.text), note.mentionedRemoteUsers);
|
||||
if (html == null) html = '';
|
||||
if (html == null) html = '<p>.</p>';
|
||||
|
||||
return html;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user