mirror of
https://github.com/nextcloud/passman.git
synced 2025-09-06 21:14:22 +08:00
Merge branch 'PASSMAN-419' of https://github.com/marius-wieschollek/passman into marius-wieschollek-PASSMAN-419
This commit is contained in:
commit
f08b3b1b69
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ PassmanExporter.csv.export = function (credentials, FileService, EncryptService)
|
|||
_tags.push(_credential[field][t].text);
|
||||
}
|
||||
var tag_data = '[' + _tags.join(",") + ']';
|
||||
row_data.push('"' + tag_data + '"');
|
||||
row_data.push('"' + tag_data.replaceAll('"', '""') + '"');
|
||||
}
|
||||
else if (field == 'custom_fields' || field == 'files') {
|
||||
var _fields = JSON.stringify(_credential[field]);
|
||||
|
@ -55,7 +55,7 @@ PassmanExporter.csv.export = function (credentials, FileService, EncryptService)
|
|||
row_data.push('"' + _fields + '"');
|
||||
}
|
||||
else {
|
||||
row_data.push('"' + _credential[field] + '"');
|
||||
row_data.push('"' + _credential[field].replaceAll('"', '""') + '"');
|
||||
}
|
||||
}
|
||||
var progress = {
|
||||
|
|
Loading…
Add table
Reference in a new issue