mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
upload of modified open file WIP
This commit is contained in:
@@ -188,6 +188,8 @@ function formatDownloadTitle(filename, type, mime) {
|
||||
filename = "untitled";
|
||||
}
|
||||
|
||||
filename = sanitize(filename);
|
||||
|
||||
if (type === 'text') {
|
||||
return filename + '.html';
|
||||
} else if (['relation-map', 'search'].includes(type)) {
|
||||
|
||||
Reference in New Issue
Block a user