1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-01 00:08:24 +09:00

fix(server): Fix #6284

This commit is contained in:
syuilo 2020-04-26 11:46:47 +09:00
parent 14ddca3875
commit 7d7c206f24

View File

@ -79,7 +79,11 @@ export function toString(tokens: MfmForest | null, opts?: RestoreOptions): strin
},
link(token, opts) {
if (token.node.props.silent) {
return `?[${appendChildren(token.children, opts)}](${token.node.props.url})`;
} else {
return `[${appendChildren(token.children, opts)}](${token.node.props.url})`;
}
},
mention(token) {