1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 15:21:46 +09:00

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 834fb3bebd
commit 7974dbf477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,