Fix hashtags

Fix hashtags from ending the file too early

URI encodes # symbol
This commit is contained in:
biran4454 2023-06-11 18:31:46 +01:00
parent 643e3a3549
commit 1d4e504120

View file

@ -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+'",';