mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
fix(server): Fix #6284
This commit is contained in:
parent
f2620a9e7f
commit
1eb59d9807
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue