Skip to content

Commit

Permalink
fix question mark bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Wsine committed Jun 26, 2019
1 parent b70285c commit 09a29bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
var sk_pwd = generate_password(pwd, key);
if (sk_pwd) {
if (document.getElementById("cb_remove").checked == true) {
document.getElementById("code").value = sk_pwd.replace(/[.,\/#!$%\^&\*;:{}=\-_`~()]/g, "");
document.getElementById("code").value = sk_pwd.replace(/[\.,-\/#!$%\^&\*;:{}=\-_`~()@\+\?><\[\]\+]/g, "");
} else {
document.getElementById("code").value = sk_pwd;
}
Expand Down

0 comments on commit 09a29bd

Please sign in to comment.