From 2945a2fb79bfb73670363a1fe4ac7f0a1ee0c2c4 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sun, 29 Mar 2020 14:38:07 +0200 Subject: [PATCH] Add EPUB3 extension to MuPDF document (#6013) Loads fine, see https://github.com/koreader/koreader/commit/026140f809cd8f441831bc71dc458f92b8774a62#commitcomment-38122799 --- frontend/document/pdfdocument.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/document/pdfdocument.lua b/frontend/document/pdfdocument.lua index 6736a573c..c5ec7f667 100644 --- a/frontend/document/pdfdocument.lua +++ b/frontend/document/pdfdocument.lua @@ -288,6 +288,7 @@ function PdfDocument:register(registry) registry:addProvider("cbt", "application/vnd.comicbook+tar", self, 100) registry:addProvider("cbz", "application/vnd.comicbook+zip", self, 100) registry:addProvider("epub", "application/epub+zip", self, 50) + registry:addProvider("epub3", "application/epub+zip", self, 50) registry:addProvider("fb2", "application/fb2", self, 80) registry:addProvider("htm", "text/html", self, 90) registry:addProvider("html", "text/html", self, 90)