diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-04 15:17:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-04 15:17:52 +0900 |
| commit | 54dcc10250cce8bfadf424245252719fea8a3896 (patch) | |
| tree | 5b0ce62dc2838128d118798f148141c8461ca5e3 /src | |
| parent | [Client] スマホ/タブレットからでも管理者ページを使える... (diff) | |
| download | sharkey-54dcc10250cce8bfadf424245252719fea8a3896.tar.gz sharkey-54dcc10250cce8bfadf424245252719fea8a3896.tar.bz2 sharkey-54dcc10250cce8bfadf424245252719fea8a3896.zip | |
Fix bug for Mastodon(?)
Diffstat (limited to 'src')
| -rw-r--r-- | src/remote/activitypub/misc/get-note-html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts index 0a607bd48c..a159bf902d 100644 --- a/src/remote/activitypub/misc/get-note-html.ts +++ b/src/remote/activitypub/misc/get-note-html.ts @@ -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; } |