mod: add html support in crereader

This commit is contained in:
Qingping Hou
2012-04-05 10:31:31 +08:00
parent 9389aad0c4
commit 1593c56803
4 changed files with 10 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ function openFile(filename)
reader = DJVUReader
elseif file_type == "pdf" or file_type == "xps" or file_type == "cbz" then
reader = PDFReader
elseif file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" or file_type == "fb2" or file_type == "chm" then
elseif file_type == "epub" or file_type == "txt" or file_type == "rtf" or file_type == "htm" or file_type == "html" or file_type == "fb2" or file_type == "chm" then
reader = CREReader
end
if reader then