mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 05:55:13 +00:00
Add U+2063 as seperator to hashtag
This commit is contained in:
parent
4ead124a2a
commit
48ae6c9e6c
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ export const language = P.createLanguage({
|
||||||
hashtag: r => {
|
hashtag: r => {
|
||||||
const mark = P.str('#');
|
const mark = P.str('#');
|
||||||
const hashTagChar = P.seq([
|
const hashTagChar = P.seq([
|
||||||
P.notMatch(P.alt([P.regexp(/[ \u3000\t.,!?'"#:/[\]【】()「」()<>]/), space, newLine])),
|
P.notMatch(P.alt([P.regexp(/[ \u3000\t., \u2063\t.,!?'"#:/[\]【】()「」()<>]/), space, newLine])),
|
||||||
P.char,
|
P.char,
|
||||||
], 1);
|
], 1);
|
||||||
const innerItem: P.Parser<any> = P.lazy(() => P.alt([
|
const innerItem: P.Parser<any> = P.lazy(() => P.alt([
|
||||||
|
|
Loading…
Reference in a new issue