mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 05:55:13 +00:00
upd: add Mark to regex
This commit is contained in:
parent
f5128d6ad5
commit
7b6749fc35
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ export const language = P.createLanguage({
|
|||
return P.seq([
|
||||
P.alt([P.lineBegin, side]),
|
||||
mark,
|
||||
P.regexp(/[\p{Number}\p{Letter}_+-]+/iu),
|
||||
P.regexp(/[\p{Letter}\p{Number}\p{Mark}_+-]+/iu),
|
||||
mark,
|
||||
P.alt([P.lineEnd, side]),
|
||||
], 2).map(name => M.EMOJI_CODE(name as string));
|
||||
|
|
Loading…
Reference in a new issue