mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
40d01c5aea
commit
5e75259355
@ -310,7 +310,7 @@ class Serializer(object):
|
|||||||
if href not in id_offsets:
|
if href not in id_offsets:
|
||||||
self.logger.warn('Hyperlink target %r not found' % href)
|
self.logger.warn('Hyperlink target %r not found' % href)
|
||||||
href, _ = urldefrag(href)
|
href, _ = urldefrag(href)
|
||||||
else:
|
if href in self.id_offsets:
|
||||||
ioff = self.id_offsets[href]
|
ioff = self.id_offsets[href]
|
||||||
for hoff in hoffs:
|
for hoff in hoffs:
|
||||||
buffer.seek(hoff)
|
buffer.seek(hoff)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user