mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-08 05:05:09 +01:00
IGN:...
This commit is contained in:
parent
080f3c8882
commit
98797b37f6
1 changed files with 1 additions and 2 deletions
|
|
@ -355,8 +355,7 @@ def parse_pml(self, pml, file_name=''):
|
|||
empty = False
|
||||
text = '<br /><br style="page-break-after: always;" />'
|
||||
elif c == 'C':
|
||||
# This should be made to create a TOC entry
|
||||
l = line.read(1)
|
||||
line.read(1)
|
||||
id = 'pml_toc-%s' % len(self.toc)
|
||||
self.toc.add_item(self.file_name, id, self.code_value(line))
|
||||
text = '<span id="%s"></span>' % id
|
||||
|
|
|
|||
Loading…
Reference in a new issue