From 5fac7c1718e21c47202b343ca14cff989e8d12cb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 27 Jan 2019 19:12:08 +0900 Subject: [PATCH] =?UTF-8?q?[MFM]=20spin=E3=81=AE=E4=B8=AD=E3=81=A7flip?= =?UTF-8?q?=E3=82=92=E4=BD=BF=E3=81=88=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/mfm/parser.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mfm/parser.ts b/src/mfm/parser.ts index 7bddea2ac2..1d72496a67 100644 --- a/src/mfm/parser.ts +++ b/src/mfm/parser.ts @@ -149,6 +149,7 @@ const mfm = P.createLanguage({ P.regexp(/(.+?)<\/spin>/, 1) .map(x => createTree('spin', P.alt( r.emoji, + r.flip, r.text ).atLeast(1).tryParse(x), {})), //#endregion