forked from Kieran/snort
inject a space before the closing ) so the markdown links still work.
This commit is contained in:
parent
965cec5aba
commit
baeed918d0
@ -229,7 +229,7 @@ export default function Text({ content, tags, users }: TextProps) {
|
|||||||
node.type === 'definition')
|
node.type === 'definition')
|
||||||
) {
|
) {
|
||||||
node.type = 'text';
|
node.type = 'text';
|
||||||
node.value = content.slice(node.position.start.offset, node.position.end.offset);
|
node.value = content.slice(node.position.start.offset, node.position.end.offset).replace(/\)$/, ' )');
|
||||||
return SKIP;
|
return SKIP;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user