insert space for unknown MFM functions (#7851)

This commit is contained in:
Johann150 2021-09-30 15:47:07 +02:00 committed by GitHub
parent 785c220c07
commit b81e378020

View File

@ -185,7 +185,7 @@ export default defineComponent({
}
}
if (style == null) {
return h('span', {}, ['[', token.props.name, ...genEl(token.children), ']']);
return h('span', {}, ['[', token.props.name, ' ', ...genEl(token.children), ']']);
} else {
return h('span', {
style: 'display: inline-block;' + style,