From b8ed59f7dc6a174d23662271c52856ef0d6de09b Mon Sep 17 00:00:00 2001 From: btheado Date: Tue, 23 Jul 2024 06:56:42 -0400 Subject: [PATCH] Use .tid file extension in node.js for text/vnd.tiddlywiki-multiple (#8409) --- core/modules/utils/filesystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/utils/filesystem.js b/core/modules/utils/filesystem.js index 5319e0481..86001c291 100644 --- a/core/modules/utils/filesystem.js +++ b/core/modules/utils/filesystem.js @@ -238,7 +238,7 @@ exports.generateTiddlerFileInfo = function(tiddler,options) { } else { // Save as a .tid or a text/binary file plus a .meta file var tiddlerType = tiddler.fields.type || "text/vnd.tiddlywiki"; - if(tiddlerType === "text/vnd.tiddlywiki" || tiddler.hasField("_canonical_uri")) { + if(tiddlerType === "text/vnd.tiddlywiki" || tiddlerType === "text/vnd.tiddlywiki-multiple" || tiddler.hasField("_canonical_uri")) { // Save as a .tid file fileInfo.type = "application/x-tiddler"; fileInfo.hasMetaFile = false;