mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-21 21:55:09 +00:00
Remove search
wildcard at end trigger, Fix .
in username in mention breaking mentions
This commit is contained in:
parent
ae92c2a9d0
commit
3b5bfe6f6a
1 changed files with 1 additions and 2 deletions
|
@ -514,7 +514,7 @@ export const language = P.createLanguage({
|
|||
const parser = P.seq([
|
||||
notLinkLabel,
|
||||
P.str('@'),
|
||||
P.regexp(/[a-z0-9_-]+/i),
|
||||
P.regexp(/[a-z0-9_.-]+/i),
|
||||
P.seq([
|
||||
P.str('@'),
|
||||
P.regexp(/[a-z0-9_.-]+/i),
|
||||
|
@ -723,7 +723,6 @@ export const language = P.createLanguage({
|
|||
search: r => {
|
||||
const button = P.alt([
|
||||
P.regexp(/\[(検索|search)\]/i),
|
||||
P.regexp(/(検索|search)/i),
|
||||
]);
|
||||
return P.seq([
|
||||
newLine.option(),
|
||||
|
|
Loading…
Reference in a new issue