mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5d3e24e105
commit
5c72ad513b
@ -336,7 +336,9 @@ class Chunker(object):
|
|||||||
num += 1
|
num += 1
|
||||||
|
|
||||||
def set_internal_links(self, text):
|
def set_internal_links(self, text):
|
||||||
# A kindle pos:fid link contains two base 32 numbers of the form
|
''' Update the internal link placeholders to point to the correct
|
||||||
|
location, based on the chunk table.'''
|
||||||
|
# A kindle:pos:fid link contains two base 32 numbers of the form
|
||||||
# XXXX:YYYYYYYYYY
|
# XXXX:YYYYYYYYYY
|
||||||
# The first number is an index into the chunk table and the second is
|
# The first number is an index into the chunk table and the second is
|
||||||
# an offset from the start of the chunk to the start of the tag pointed
|
# an offset from the start of the chunk to the start of the tag pointed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user