1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

normalize htm to html

This commit is contained in:
j 2015-11-19 18:18:37 +01:00
parent 61ab2cfce3
commit 0012df1fcd

View file

@ -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'){