From 0012df1fcde1be0bc19f7dd567ec83da117851dd Mon Sep 17 00:00:00 2001 From: j Date: Thu, 19 Nov 2015 18:18:37 +0100 Subject: [PATCH] normalize htm to html --- src/core.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core.js b/src/core.js index f2b03dd..a1e6433 100644 --- a/src/core.js +++ b/src/core.js @@ -93,6 +93,9 @@ EPUBJS.core.request = function(url, type, withCredentials) { if(!type) { uri = EPUBJS.core.uri(url); type = uri.extension; + type = { + 'htm': 'html' + }[type] || type; } if(type == 'blob'){