Fix bug for Mastodon(?)

This commit is contained in:
syuilo 2018-11-04 15:17:52 +09:00
parent 1edfce8f73
commit 54dcc10250
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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;
}