mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	fix doubling of extension
This commit is contained in:
		| @@ -62,7 +62,7 @@ async function exportToTar(exportContext, branch, format, res) { | ||||
|         const existingExtension = path.extname(fileName).toLowerCase(); | ||||
|  | ||||
|         // if the note is already named with extension (e.g. "jquery.js"), then it's silly to append exact same extension again | ||||
|         if (existingExtension !== extension) { | ||||
|         if (existingExtension !== "." + extension) { | ||||
|             fileName += "." + extension; | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user