Skip to content

Commit 0593eaf

Browse files
authored
Fix code scanning alert issue #1357 (#1499)
1 parent 7dc2660 commit 0593eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/static/js/jquery.atwho.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
_a = decodeURI("%C3%80");
5151
_y = decodeURI("%C3%BF");
5252
space = acceptSpaceBar ? "\ " : "";
53-
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_" + space + "\'\.\+\-]*)$|" + flag + "([^\\x00-\\xff]*)$", 'gi');
53+
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_" + space + '\'\.\+\-]*)$|' + flag + "([^\\x00-\\xff]*)$", 'gi');
5454
match = regexp.exec(subtext);
5555
if (match) {
5656
return match[2] || match[1];

0 commit comments

Comments
 (0)