1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-02 12:19:11 +00:00

Fix content type for TiddlyWeb

This commit is contained in:
Jeremy Ruston 2012-11-19 17:35:12 +00:00
parent 3d38d4add3
commit 49ca83e17d

View File

@ -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); return JSON.stringify(result);
}; };