mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 05:55:13 +00:00
API: fix toString
This commit is contained in:
parent
25b478324d
commit
487cfba9fe
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ export function stringifyNode(node: MfmNode): string {
|
|||
}
|
||||
});
|
||||
const args = (argFields.length > 0) ? '.' + argFields.join(',') : '';
|
||||
return `[${ node.props.name }${ args } ${ stringifyTree(node.children) }]`;
|
||||
return `$[${ node.props.name }${ args } ${ stringifyTree(node.children) }]`;
|
||||
}
|
||||
case 'text': {
|
||||
return node.props.text;
|
||||
|
|
Loading…
Reference in a new issue