diff --git a/core/boot.js b/core/boot.js index 527f567d8..be2cfeffa 100644 --- a/core/boot.js +++ b/core/boot.js @@ -507,6 +507,12 @@ $tw.plugins.applyMethods("tiddlerdeserializer",$tw.Wiki.tiddlerDeserializerPlugi $tw.wiki.shadows.addTiddlers( $tw.wiki.deserializeTiddlers("(DOM)",document.getElementById("pluginModules")) ); +$tw.wiki.shadows.addTiddlers( + $tw.wiki.deserializeTiddlers("(DOM)",document.getElementById("bootKernelPrefix")) +); +$tw.wiki.shadows.addTiddlers( + $tw.wiki.deserializeTiddlers("(DOM)",document.getElementById("bootKernel")) +); // Load the stylesheet tiddlers from the DOM $tw.wiki.shadows.addTiddlers( $tw.wiki.deserializeTiddlers("(DOM)",document.getElementById("styleArea")) diff --git a/core/modules/parsers/plaintextparser.js b/core/modules/parsers/plaintextparser.js index 42b045023..0a777a856 100644 --- a/core/modules/parsers/plaintextparser.js +++ b/core/modules/parsers/plaintextparser.js @@ -22,4 +22,4 @@ PlainTextParser.prototype.parse = function(type,text) { exports["text/plain"] = PlainTextParser; -})(); \ No newline at end of file +})(); diff --git a/core/modules/serializers.js b/core/modules/serializers.js index daa864e27..88babef88 100644 --- a/core/modules/serializers.js +++ b/core/modules/serializers.js @@ -69,13 +69,17 @@ exports["application/x-tiddler-module"] = function(tiddler) { }; exports["application/x-tiddler-html-div"] = function(tiddler) { - var result = []; + var result = [],fields = []; result.push("
"); result.push($tw.utils.htmlEncode(tiddler.fields.text)); result.push("\n