Skip to content
Snippets Groups Projects
Commit 487cfba9 authored by marihachi's avatar marihachi
Browse files

API: fix toString

parent 25b47832
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment