summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohann150 <johann.galle@protonmail.com>2021-09-30 15:47:07 +0200
committerGitHub <noreply@github.com>2021-09-30 22:47:07 +0900
commit7974dbf4778c022747a34bff9189d03393bf0c4e (patch)
treee5c86ac5de25b55014c1ed74e3314643fbda4d80 /src
parentfix(client): ユーザーページのタブが機能していない問題を... (diff)
downloadmisskey-7974dbf4778c022747a34bff9189d03393bf0c4e.tar.gz
misskey-7974dbf4778c022747a34bff9189d03393bf0c4e.tar.bz2
misskey-7974dbf4778c022747a34bff9189d03393bf0c4e.zip
insert space for unknown MFM functions (#7851)
Diffstat (limited to 'src')
-rw-r--r--src/client/components/mfm.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/mfm.ts b/src/client/components/mfm.ts
index a228ca4b8d..2bdd7d46ee 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,