Skip to content

Commit

Permalink
Fix hashtags
Browse files Browse the repository at this point in the history
Fix hashtags from ending the file too early by uri encoding # symbol
  • Loading branch information
biran4454 authored and Biran4454 committed Jun 15, 2023
1 parent 3c89137 commit 32e71aa
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,'""');
return str.replace(/#/g,'%23').replace(/'/g,'`').replace(/"/g,'""');
},
csvCell: function(str) {
return '"'+str+'",';
Expand Down

0 comments on commit 32e71aa

Please sign in to comment.