mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
FIX: CSV export quote should comply rfc4180. Related to #791.
This commit is contained in:
parent
67f8c68983
commit
5a35f0d320
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ function overviewMarkers() {
|
|||
|
||||
function exportMarkers() {
|
||||
const headers = "Id,Type,Icon,Name,Note,X,Y\n";
|
||||
const quote = s => '"' + s.replace('"', "'") + '"';
|
||||
const quote = s => '"' + s.replaceAll('"', '""') + '"';
|
||||
|
||||
const body = pack.markers.map(marker => {
|
||||
const {i, type, icon, x, y} = marker;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue