From c63eb4c045397d6d12ef74ac028199eb89157e63 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 8 May 2012 15:19:42 +0100 Subject: [PATCH] Correct the content type for tiddlers loaded from application/x-tiddler containers --- core/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/boot.js b/core/boot.js index bcd9463d5..527f567d8 100644 --- a/core/boot.js +++ b/core/boot.js @@ -396,6 +396,7 @@ $tw.plugins.registerPlugin($tw.config.root + "/kernel/tiddlerdeserializer/js","t }); $tw.plugins.registerPlugin($tw.config.root + "/kernel/tiddlerdeserializer/tid","tiddlerdeserializer",{ "application/x-tiddler": function(text,fields) { + fields.type = "text/x-tiddlywiki"; var split = text.indexOf("\n\n"); if(split !== -1) { fields = $tw.utils.parseFields(text.substr(0,split),fields);