Make Markdown more interoperable #153

Merged
fiatjaf merged 2 commits from safer-markdown into main 2023-01-28 10:41:02 +00:00
Showing only changes of commit baeed918d0 - Show all commits

View File

@ -229,7 +229,7 @@ export default function Text({ content, tags, users }: TextProps) {
node.type === 'definition')
) {
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;
}
})