1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

Recognise .HTA as synonym for .HTML files

Fixes #513
This commit is contained in:
Jermolene 2014-08-04 15:12:33 +01:00
parent ec3827e5a4
commit 08f775eac8

View File

@ -1728,6 +1728,7 @@ $tw.boot.startup = function(options) {
$tw.utils.registerFileType("text/css","utf8",".css");
$tw.utils.registerFileType("text/html","utf8",".html");
$tw.config.fileExtensionInfo[".htm"] = {type: "text/html"};
$tw.config.fileExtensionInfo[".hta"] = {type: "text/html"};
$tw.utils.registerFileType("application/hta","utf16le",".hta",{deserializerType:"text/html"});
$tw.utils.registerFileType("application/javascript","utf8",".js");
$tw.utils.registerFileType("application/json","utf8",".json");