From 47e69cb5452748b6b4afac5026b7d9a0d5c9e4a4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 16 Oct 2019 04:44:29 +0530 Subject: [PATCH] Only run the link regex over virtualized resources client side --- src/pyj/read_book/resources.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/resources.pyj b/src/pyj/read_book/resources.pyj index 53042197db..970867102b 100644 --- a/src/pyj/read_book/resources.pyj +++ b/src/pyj/read_book/resources.pyj @@ -45,7 +45,7 @@ def load_resources(book, root_name, previous_resources, proceed): def got_one(data, name, mimetype): ans[name] = v'[data, mimetype]' - if jstype(data) is 'string': + if jstype(data) is 'string' and book.manifest.files[name]?.is_virtualized: find_virtualized_resources(data) return setTimeout(do_one, 0)