mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
559d3f31f4
commit
c6f21f7465
@ -26,7 +26,7 @@ class Field(object):
|
|||||||
if not raw:
|
if not raw:
|
||||||
return
|
return
|
||||||
if self.name is None:
|
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
|
# a significant space, along the lines of
|
||||||
# <>Summary <> ... <>Hearing<>.
|
# <>Summary <> ... <>Hearing<>.
|
||||||
# No known examples of starting with a space yet.
|
# No known examples of starting with a space yet.
|
||||||
@ -181,7 +181,7 @@ class Fields(object):
|
|||||||
for runs in self.get_runs(field):
|
for runs in self.get_runs(field):
|
||||||
self.hyperlink_fields.append(({'anchor':dest}, runs))
|
self.hyperlink_fields.append(({'anchor':dest}, runs))
|
||||||
else:
|
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
|
parse_noteref = parse_ref
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user