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