update mfm-js
This commit is contained in:
parent
367ccb9971
commit
68e65ed5df
4 changed files with 9 additions and 9 deletions
|
@ -37,7 +37,7 @@
|
|||
"is-file-animated": "1.0.2",
|
||||
"json5": "2.2.3",
|
||||
"matter-js": "0.18.0",
|
||||
"mfm-js": "0.23.1",
|
||||
"mfm-js": "0.23.3",
|
||||
"misskey-js": "0.0.14",
|
||||
"photoswipe": "5.3.4",
|
||||
"prismjs": "1.29.0",
|
||||
|
|
|
@ -43,7 +43,7 @@ export default defineComponent({
|
|||
render() {
|
||||
if (this.text == null || this.text === '') return;
|
||||
|
||||
const ast = (this.plain ? mfm.parseSimple : mfm.parse)(this.text, { fnNameList: MFM_TAGS });
|
||||
const ast = (this.plain ? mfm.parseSimple : mfm.parse)(this.text);
|
||||
|
||||
const validTime = (t: string | null | undefined) => {
|
||||
if (t == null) return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue