From 49ca83e17d2bdbbfc11694597ca99cf422787953 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 19 Nov 2012 17:35:12 +0000 Subject: [PATCH] Fix content type for TiddlyWeb --- plugins/tiddlywiki/tiddlyweb/tiddlyweb.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js b/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js index b1d736beb..b0767bb23 100644 --- a/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js +++ b/plugins/tiddlywiki/tiddlyweb/tiddlyweb.js @@ -506,6 +506,10 @@ TiddlyWebSyncer.prototype.convertTiddlerToTiddlyWebFormat = function(title) { } }); } + // Convert the type "text/x-tiddlywiki" into null + if(result.type === "text/x-tiddlywiki") { + result.type = null; + } return JSON.stringify(result); };