Export: Remove " as one of the allowed characters in filenames
Turns out that it's not allowed on windows. FREEBIE
This commit is contained in:
@@ -310,7 +310,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sanitizeFileName(filename) {
|
function sanitizeFileName(filename) {
|
||||||
return filename.toString().replace(/[^a-z0-9.,+()'"#\- ]/gi, '_');
|
return filename.toString().replace(/[^a-z0-9.,+()'#\- ]/gi, '_');
|
||||||
}
|
}
|
||||||
|
|
||||||
function exportConversation(idb_db, name, conversation, dir) {
|
function exportConversation(idb_db, name, conversation, dir) {
|
||||||
|
Reference in New Issue
Block a user