From 08f775eac8cb053d08c1c561e65a5eeb87c4c6b6 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 4 Aug 2014 15:12:33 +0100 Subject: [PATCH] Recognise .HTA as synonym for .HTML files Fixes #513 --- boot/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/boot.js b/boot/boot.js index 698b05bf0..5cfc5409b 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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");