Error exporting items containing a comma
sabinico opened this issue · 0 comments
When exporting a snapshot, if itemName has a comma ,
it breaks the CSV file format.
Ex: Runa vantus: Ny'alotha, Ciudad del Despertar
Abyss Watchers-Dun Modr [A],08/16/20 (23:23:48),Officers,withdraw,Sabinica,Runa vantus: Ny'alotha, Ciudad del Despertar,,10,,,7 months ago,approx. 11 PM on 8/04/20,Sabinica retiró [Runa vantus: Ny'alotha, Ciudad del Despertar] x10 at approx. 11 PM on 8/04/20
It would be cool escape the itemName commas something like: Runa vantus: Ny'alotha\, Ciudad del Despertar
Or change the comma separator by a semicolon ;
Or better, have a option in order to let the user change the separator character used in:
https://github.com/niketa-wow/guildbanksnapshots/blob/cb7d51496da07ff69bb00c59e54108b7d07f28c7/Manage.lua#L404