mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-24 23:15:14 +00:00
fix toString()
This commit is contained in:
parent
c42fb34c90
commit
73fb26c6ba
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ function nodeStringify(node: MfmNode): string {
|
|||
return `${ key }=${ value }`;
|
||||
}
|
||||
});
|
||||
const args = argFields.join(',');
|
||||
const args = (argFields.length > 0) ? '.' + argFields.join(',') : '';
|
||||
return `[${ node.props.name }${ args } ${ toString(node.children) }]`;
|
||||
}
|
||||
case 'text': {
|
||||
|
|
Loading…
Reference in a new issue