From b81e378020f21a98f63981f97dc0fab810d6a252 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,