[parsing] Allow termination of mentions with the question mark character
This commit is contained in:
parent
dc8511632b
commit
1e0fd2efda
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ module private MfmParser =
|
||||||
<| choice
|
<| choice
|
||||||
[ spaces1
|
[ spaces1
|
||||||
eof
|
eof
|
||||||
skipAnyOf "()[].,;*~\'"
|
skipAnyOf "()[].,;?*~\'"
|
||||||
skipChar ':' .>> nextCharSatisfiesNot isAsciiLetterOrNumber ])
|
skipChar ':' .>> nextCharSatisfiesNot isAsciiLetterOrNumber ])
|
||||||
|>> fun (user: string, host: string option) -> MfmMentionNode(acct (user, host), user, host) :> MfmNode
|
|>> fun (user: string, host: string option) -> MfmMentionNode(acct (user, host), user, host) :> MfmNode
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue