1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

fix(client): MFM関数構文のサジェストで括弧を無視するように

This commit is contained in:
syuilo 2021-09-26 03:25:00 +09:00
parent 8d93f148be
commit 78b400e8b0

View File

@ -120,7 +120,7 @@ export class Autocomplete {
if (isMfmTag && !opened) {
const mfmTag = text.substr(mfmTagIndex + 1);
if (!mfmTag.includes(' ')) {
this.open('mfmTag', mfmTag);
this.open('mfmTag', mfmTag.replace('[', ''));
opened = true;
}
}