mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-13 04:46:52 +08:00
chore: address security alerts on braces escape and KaTeX (#3301)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export function getHashtagRegexString(): string {
|
||||
const hashtag = '(\{)(\{)([a-zA-Z_][a-zA-Z0-9_]{0,29})(\})(\})'
|
||||
const hashtag = '\\{\\{[a-zA-Z_][a-zA-Z0-9_]{0,29}\\}\\}'
|
||||
|
||||
return hashtag
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user