mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
backend import unification
This commit is contained in:
@@ -77,7 +77,7 @@ function exportToZip(taskContext, branch, format, res) {
|
||||
fileName = fileName.substr(0, 30);
|
||||
}
|
||||
|
||||
// if the note is already named with extension (e.g. "jquery.js"), then it's silly to append exact same extension again
|
||||
// if the note is already named with extension (e.g. "jquery"), then it's silly to append exact same extension again
|
||||
if (newExtension && existingExtension !== "." + newExtension.toLowerCase()) {
|
||||
fileName += "." + newExtension;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user