fix(server): Fix #6284
This commit is contained in:
parent
14ddca3875
commit
7d7c206f24
|
@ -79,7 +79,11 @@ export function toString(tokens: MfmForest | null, opts?: RestoreOptions): strin
|
||||||
},
|
},
|
||||||
|
|
||||||
link(token, opts) {
|
link(token, opts) {
|
||||||
return `[${appendChildren(token.children, opts)}](${token.node.props.url})`;
|
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) {
|
mention(token) {
|
||||||
|
|
Loading…
Reference in New Issue