safeTitle access for note.title.replace
This commit is contained in:
@@ -69,7 +69,7 @@ class ArchiveManager {
|
||||
var note = notes[index];
|
||||
var blob = new Blob([note.text], {type: 'text/plain'});
|
||||
|
||||
var title = note.title.replace(/\//g, "").replace(/\\+/g, "");
|
||||
var title = note.safeTitle().replace(/\//g, "").replace(/\\+/g, "");
|
||||
|
||||
zipWriter.add(`${title}-${note.uuid}.txt`, new zip.BlobReader(blob), () => {
|
||||
index++;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "standard-notes-web",
|
||||
"version": "2.3.6",
|
||||
"version": "2.3.7",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/standardnotes/web"
|
||||
|
||||
Reference in New Issue
Block a user