From e47ee12884eeadd13252aaaa78501256d70e21d2 Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sun, 26 Sep 2021 03:25:00 +0900
Subject: [PATCH] =?UTF-8?q?fix(client):=20MFM=E9=96=A2=E6=95=B0=E6=A7=8B?=
 =?UTF-8?q?=E6=96=87=E3=81=AE=E3=82=B5=E3=82=B8=E3=82=A7=E3=82=B9=E3=83=88?=
 =?UTF-8?q?=E3=81=A7=E6=8B=AC=E5=BC=A7=E3=82=92=E7=84=A1=E8=A6=96=E3=81=99?=
 =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/client/scripts/autocomplete.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client/scripts/autocomplete.ts b/src/client/scripts/autocomplete.ts
index e952ad390..c0c33b2c7 100644
--- a/src/client/scripts/autocomplete.ts
+++ b/src/client/scripts/autocomplete.ts
@@ -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;
 			}
 		}