mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-08 09:48:05 +00:00
Use text/x-tiddlywiki for old format TiddlyWiki text for compatibility
This commit is contained in:
@@ -469,7 +469,7 @@ TiddlyWebSyncer.prototype.storeTiddler = function(tiddlerFields,revision) {
|
||||
if(result.type === "text/javascript") {
|
||||
result.type = "application/javascript";
|
||||
} else if(!result.type || result.type === "None") {
|
||||
result.type = "text/vnd.tiddlywiki2";
|
||||
result.type = "text/x-tiddlywiki";
|
||||
}
|
||||
// Save the tiddler
|
||||
self.wiki.addTiddler(new $tw.Tiddler(self.wiki.getTiddler(result.title),result));
|
||||
|
||||
@@ -183,6 +183,6 @@ WikiTextParser.prototype.subWikifyTerm = function(output,terminatorRegExp) {
|
||||
this.output = oldOutput;
|
||||
};
|
||||
|
||||
exports["text/vnd.tiddlywiki2"] = WikiTextParser;
|
||||
exports["text/x-tiddlywiki"] = WikiTextParser;
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user