From 1e0fd2efdae1437f184797ce9106cc176c273614 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 11 Jun 2024 16:27:23 +0200 Subject: [PATCH] [parsing] Allow termination of mentions with the question mark character --- Iceshrimp.Parsing/Mfm.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Parsing/Mfm.fs b/Iceshrimp.Parsing/Mfm.fs index 223e74cc..46a01a5b 100644 --- a/Iceshrimp.Parsing/Mfm.fs +++ b/Iceshrimp.Parsing/Mfm.fs @@ -241,7 +241,7 @@ module private MfmParser = <| choice [ spaces1 eof - skipAnyOf "()[].,;*~\'" + skipAnyOf "()[].,;?*~\'" skipChar ':' .>> nextCharSatisfiesNot isAsciiLetterOrNumber ]) |>> fun (user: string, host: string option) -> MfmMentionNode(acct (user, host), user, host) :> MfmNode