mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Only run the link regex over virtualized resources client side
This commit is contained in:
parent
8c3c634650
commit
47e69cb545
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user