Skip to content
Snippets Groups Projects
Commit 48ae6c9e authored by Marie's avatar Marie
Browse files

Add U+2063 as seperator to hashtag

parent 4ead124a
No related branches found
No related tags found
1 merge request!1push develop into stable
......@@ -579,7 +579,7 @@ export const language = P.createLanguage({
hashtag: r => {
const mark = P.str('#');
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,
], 1);
const innerItem: P.Parser<any> = P.lazy(() => P.alt([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment