mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 10:25:01 +00:00
fix regex
This commit is contained in:
parent
ee53e2ddd0
commit
2495336f1c
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ export async function matchAndRenderTagFromString(
|
|||
return null;
|
||||
}
|
||||
|
||||
const tagNameMatch = str.slice(tagPrefix.length).match(/^[a-z0-9_-]*/);
|
||||
const tagNameMatch = str.slice(tagPrefix.length).match(/^\S+/);
|
||||
if (tagNameMatch == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue