diff --git a/plugins/newsdownloader.koplugin/epubdownloadbackend.lua b/plugins/newsdownloader.koplugin/epubdownloadbackend.lua index 81576eb19..4d0cf5c54 100644 --- a/plugins/newsdownloader.koplugin/epubdownloadbackend.lua +++ b/plugins/newsdownloader.koplugin/epubdownloadbackend.lua @@ -333,9 +333,6 @@ function EpubDownloadBackend:createEpub(epub_path, html, url, include_images, me local cre = require("libs/libkoreader-cre") html = cre.getBalancedHTML(html, 0x0) - -- Remove all script tags to save a few bytes. - html = html:gsub(".-", "") - -- local sections = html.sections -- Wikipedia provided TOC local bookid = "bookid_placeholder" --string.format("wikipedia_%s_%s_%s", lang, phtml.pageid, phtml.revid) -- Not sure if this bookid may ever be used by indexing software/calibre, but if it is,