From 7974dbf4778c022747a34bff9189d03393bf0c4e Mon Sep 17 00:00:00 2001 From: Johann150 Date: Thu, 30 Sep 2021 15:47:07 +0200 Subject: [PATCH] insert space for unknown MFM functions (#7851) --- src/client/components/mfm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/mfm.ts b/src/client/components/mfm.ts index a228ca4b8..2bdd7d46e 100644 --- a/src/client/components/mfm.ts +++ b/src/client/components/mfm.ts @@ -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,