[parsing] Allow termination of mentions with a semicolon character
This commit is contained in:
parent
b543733451
commit
835796ac86
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,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