mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bug #4961: eReader conversion error.
This commit is contained in:
parent
07dab2d5ae
commit
9ec911c8d7
@ -131,7 +131,7 @@ class PMLMLizer(object):
|
|||||||
if item.href in self.link_hrefs.keys():
|
if item.href in self.link_hrefs.keys():
|
||||||
toc.append('* \\q="#%s"%s\\q\n' % (self.link_hrefs[item.href], item.title))
|
toc.append('* \\q="#%s"%s\\q\n' % (self.link_hrefs[item.href], item.title))
|
||||||
else:
|
else:
|
||||||
self.oeb.warn('Ignoring toc item: %s not found in document.' % item)
|
self.oeb_book.warn('Ignoring toc item: %s not found in document.' % item)
|
||||||
return ''.join(toc)
|
return ''.join(toc)
|
||||||
|
|
||||||
def get_text(self):
|
def get_text(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user