mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-24 04:53:15 +02:00
...
This commit is contained in:
parent
559d3f31f4
commit
c6f21f7465
1 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ def add_instr(self, elem):
|
|||
if not raw:
|
||||
return
|
||||
if self.name is None:
|
||||
# There are cases where partial index entries end with
|
||||
# There are cases where partial index entries end with
|
||||
# a significant space, along the lines of
|
||||
# <>Summary <> ... <>Hearing<>.
|
||||
# No known examples of starting with a space yet.
|
||||
|
|
@ -181,7 +181,7 @@ def parse_ref(self, field, parse_func, log):
|
|||
for runs in self.get_runs(field):
|
||||
self.hyperlink_fields.append(({'anchor':dest}, runs))
|
||||
else:
|
||||
self.log.warn('Unsupported reference field (%s), ignoring: %r' % (field.name, ref))
|
||||
log.warn('Unsupported reference field (%s), ignoring: %r' % (field.name, ref))
|
||||
|
||||
parse_noteref = parse_ref
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue