Correct mention regex in mention tag function (#154)
This commit is contained in:
parent
2ac6fedfc5
commit
513755636e
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ export const TagsPlugin = zeppelinGuildPlugin<TagsPluginType>()("tags", {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (input.match(/^<(@#)(!&)\d+>$/)) {
|
if (input.match(/^<(?:@(?:!|&)?|#)\d+>$/)) {
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue