mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Correct the content type for tiddlers loaded from application/x-tiddler containers
This commit is contained in:
parent
8b0703b694
commit
c63eb4c045
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user