1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-05 10:18:09 +09:00

Improve MFM

This commit is contained in:
syuilo 2018-11-25 13:23:18 +09:00
parent fc8aeb5a66
commit 2c5162671c
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -85,6 +85,7 @@ const mfm = P.createLanguage({
r.mention, r.mention,
r.hashtag, r.hashtag,
r.emoji, r.emoji,
r.math,
r.text r.text
).atLeast(1).tryParse(x))), ).atLeast(1).tryParse(x))),
//#endregion //#endregion
@ -203,6 +204,7 @@ const mfm = P.createLanguage({
r.mention, r.mention,
r.hashtag, r.hashtag,
r.emoji, r.emoji,
r.math,
r.text r.text
).atLeast(1).tryParse(x))), ).atLeast(1).tryParse(x))),
//#endregion //#endregion