mirror of
https://github.com/zadam/trilium.git
synced 2026-01-04 21:54:23 +01:00
fix(export/share): .zip attachment marked as html
This commit is contained in:
parent
cf968b3590
commit
1ae11ce3a5
@ -130,6 +130,11 @@ export default class ShareThemeExportProvider extends ZipExportProvider {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Don't add .html if the file already has .zip extension (for attachments).
|
||||
if (existingExtension === ".zip") {
|
||||
return null;
|
||||
}
|
||||
|
||||
return "html";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user