summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2019-01-30 14:57:13 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2019-01-30 14:57:13 +0900
commit3058e8f354905f917a2af715499d6c96ae715f57 (patch)
treee28359a07ef2cd30c78dbcc4fdf7174f5c1a4dbf /src
parentExtract MFM types (diff)
downloadmisskey-3058e8f354905f917a2af715499d6c96ae715f57.tar.gz
misskey-3058e8f354905f917a2af715499d6c96ae715f57.tar.bz2
misskey-3058e8f354905f917a2af715499d6c96ae715f57.zip
Rename html to toHtml
Diffstat (limited to 'src')
-rw-r--r--src/mfm/toHtml.ts (renamed from src/mfm/html.ts)0
-rw-r--r--src/remote/activitypub/misc/get-note-html.ts2
-rw-r--r--src/remote/activitypub/renderer/person.ts2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/mfm/html.ts b/src/mfm/toHtml.ts
index ceaf3e421f..ceaf3e421f 100644
--- a/src/mfm/html.ts
+++ b/src/mfm/toHtml.ts
diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts
index a159bf902d..687faebed4 100644
--- a/src/remote/activitypub/misc/get-note-html.ts
+++ b/src/remote/activitypub/misc/get-note-html.ts
@@ -1,5 +1,5 @@
import { INote } from '../../../models/note';
-import toHtml from '../../../mfm/html';
+import toHtml from '../../../mfm/toHtml';
import parse from '../../../mfm/parse';
export default function(note: INote) {
diff --git a/src/remote/activitypub/renderer/person.ts b/src/remote/activitypub/renderer/person.ts
index 096596b021..827fa91f2b 100644
--- a/src/remote/activitypub/renderer/person.ts
+++ b/src/remote/activitypub/renderer/person.ts
@@ -2,7 +2,7 @@ import renderImage from './image';
import renderKey from './key';
import config from '../../../config';
import { ILocalUser } from '../../../models/user';
-import toHtml from '../../../mfm/html';
+import toHtml from '../../../mfm/toHtml';
import parse from '../../../mfm/parse';
import DriveFile from '../../../models/drive-file';
import { getEmojis } from './note';