mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
b000d470ed
commit
a5cdad2705
@ -210,9 +210,11 @@ class TXTInput(InputFormatPlugin):
|
|||||||
oeb = html_input.convert(open(htmlfile.name, 'rb'), options, 'html', log,
|
oeb = html_input.convert(open(htmlfile.name, 'rb'), options, 'html', log,
|
||||||
{})
|
{})
|
||||||
# Add images from from txtz archive to oeb.
|
# Add images from from txtz archive to oeb.
|
||||||
for image, mime in images:
|
# Disabled as the conversion pipeline adds unmanifested items that are
|
||||||
id, href = oeb.manifest.generate(id='image', href=image)
|
# referred to in the content automatically
|
||||||
oeb.manifest.add(id, href, mime)
|
#for image, mime in images:
|
||||||
|
# id, href = oeb.manifest.generate(id='image', href=image)
|
||||||
|
# oeb.manifest.add(id, href, mime)
|
||||||
options.debug_pipeline = odi
|
options.debug_pipeline = odi
|
||||||
os.remove(htmlfile.name)
|
os.remove(htmlfile.name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user