re: update mfm-js 0.23.0-canary.1

This commit is contained in:
syuilo
2022-07-11 23:13:23 +09:00
parent 43316ec355
commit a5648fb07f
4 changed files with 9 additions and 9 deletions

View File

@ -47,7 +47,7 @@ export default defineComponent({
render() {
if (this.text == null || this.text === '') return;
const ast = (this.plain ? mfm.parsePlain : mfm.parse)(this.text, { fnNameList: MFM_TAGS });
const ast = (this.plain ? mfm.parseSimple : mfm.parse)(this.text, { fnNameList: MFM_TAGS });
const validTime = (t: string | null | undefined) => {
if (t == null) return null;