mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 03:36:57 +01:00
fix(client): MFM関数構文のサジェストで括弧を無視するように
This commit is contained in:
parent
8d93f148be
commit
78b400e8b0
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ export class Autocomplete {
|
||||||
if (isMfmTag && !opened) {
|
if (isMfmTag && !opened) {
|
||||||
const mfmTag = text.substr(mfmTagIndex + 1);
|
const mfmTag = text.substr(mfmTagIndex + 1);
|
||||||
if (!mfmTag.includes(' ')) {
|
if (!mfmTag.includes(' ')) {
|
||||||
this.open('mfmTag', mfmTag);
|
this.open('mfmTag', mfmTag.replace('[', ''));
|
||||||
opened = true;
|
opened = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue