mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:13:15 +02:00
Fix regression that broke PML output
This commit is contained in:
commit
c90a3b63af
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ def get_text(self):
|
|||
text = [u'']
|
||||
for item in self.oeb_book.spine:
|
||||
self.log.debug('Converting %s to PML markup...' % item.href)
|
||||
stylizer = Stylizer(item.data, item.href, self.oeb_book, self.opts.output_profile)
|
||||
stylizer = Stylizer(item.data, item.href, self.oeb_book, self.opts, self.opts.output_profile)
|
||||
text.append(self.add_page_anchor(item))
|
||||
text += self.dump_text(item.data.find(XHTML('body')), stylizer, item)
|
||||
return ''.join(text)
|
||||
|
|
|
|||
Loading…
Reference in a new issue