Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import * as mfm from "mfm-js";
|
||||
import { toHtml } from "../../../mfm/to-html.js";
|
||||
export default async function(note) {
|
||||
if (!note.text) return "";
|
||||
return toHtml(mfm.parse(note.text), JSON.parse(note.mentionedRemoteUsers), note.userHost);
|
||||
}
|
||||
Reference in New Issue
Block a user