Rename html to toHtml
This commit is contained in:
parent
4c9b66b0f0
commit
3058e8f354
|
@ -1,5 +1,5 @@
|
||||||
import { INote } from '../../../models/note';
|
import { INote } from '../../../models/note';
|
||||||
import toHtml from '../../../mfm/html';
|
import toHtml from '../../../mfm/toHtml';
|
||||||
import parse from '../../../mfm/parse';
|
import parse from '../../../mfm/parse';
|
||||||
|
|
||||||
export default function(note: INote) {
|
export default function(note: INote) {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import renderImage from './image';
|
||||||
import renderKey from './key';
|
import renderKey from './key';
|
||||||
import config from '../../../config';
|
import config from '../../../config';
|
||||||
import { ILocalUser } from '../../../models/user';
|
import { ILocalUser } from '../../../models/user';
|
||||||
import toHtml from '../../../mfm/html';
|
import toHtml from '../../../mfm/toHtml';
|
||||||
import parse from '../../../mfm/parse';
|
import parse from '../../../mfm/parse';
|
||||||
import DriveFile from '../../../models/drive-file';
|
import DriveFile from '../../../models/drive-file';
|
||||||
import { getEmojis } from './note';
|
import { getEmojis } from './note';
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
import * as assert from 'assert';
|
import * as assert from 'assert';
|
||||||
|
|
||||||
import analyze from '../src/mfm/parse';
|
import analyze from '../src/mfm/parse';
|
||||||
import toHtml from '../src/mfm/html';
|
import toHtml from '../src/mfm/toHtml';
|
||||||
import { createTree as tree, createLeaf as leaf, MfmTree } from '../src/mfm/types';
|
import { createTree as tree, createLeaf as leaf, MfmTree } from '../src/mfm/types';
|
||||||
import { removeOrphanedBrackets } from '../src/mfm/parser';
|
import { removeOrphanedBrackets } from '../src/mfm/parser';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue