Skip to content

Commit

Permalink
URI encodes # symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Biran4454 committed Jun 15, 2023
1 parent 4d8e068 commit 9d338be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerdeletesuite.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ var pd = {
return check.subs && check.gold && check.saved && check.mod && check.score && check.date;
},
csvEscape: function(str) {
return str.replace(/#/g,'').replace(/'/g,'`').replace(/"/g,'""');
return str.replace(/#/g,'%23').replace(/'/g,'`').replace(/"/g,'""');
},
csvCell: function(str) {
return '"'+str+'",';
Expand Down

0 comments on commit 9d338be

Please sign in to comment.