diff --git a/js/Recipe.js b/js/Recipe.js index efe3fa173..91ea744b8 100755 --- a/js/Recipe.js +++ b/js/Recipe.js @@ -358,7 +358,8 @@ Recipe.tiddlerOutputMapper = { jquery: "javascript", shadow: "shadow", title: "title", - jsmodule: "jsmodule" + jsmodule: "jsmodule", + base64ie: "base64ie" }; Recipe.compatibilityCheats = { @@ -421,6 +422,27 @@ Recipe.tiddlerOutputter = { out.push("});"); out.push(""); } + }, + base64ie: function(out,tiddlers) { + // For IE, we output binary tiddlers in MHTML format (http://www.phpied.com/mhtml-when-you-need-data-uris-in-ie7-and-under/) + if(tiddlers.length) { + out.push("\n"); + } } };