mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-27 00:43:02 +08:00
Merge branch 'marius-wieschollek-PASSMAN-419' into feature/merges_v2.2.0
This commit is contained in:
commit
7deb663a11
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…
Reference in a new issue