This commit is contained in:
syuilo 2021-09-28 01:50:02 +09:00 committed by GitHub
parent ebce02c253
commit 0d3a36e519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ export class NoteRepository extends Repository<Note> {
const tokens = packed.text ? mfm.parse(packed.text) : []; const tokens = packed.text ? mfm.parse(packed.text) : [];
mfm.inspect(tokens, node => { mfm.inspect(tokens, node => {
if (node.type === 'text') { if (node.type === 'text') {
// TODO: quoteなtextはskip
node.props.text = nyaize(node.props.text); node.props.text = nyaize(node.props.text);
} }
}); });