From 5c72ad513b982741b6dc0777d89cda837f9566a8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 21 Apr 2012 07:52:27 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/mobi/writer8/skeleton.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/ebooks/mobi/writer8/skeleton.py b/src/calibre/ebooks/mobi/writer8/skeleton.py index 4da540cac6..8f0a3795db 100644 --- a/src/calibre/ebooks/mobi/writer8/skeleton.py +++ b/src/calibre/ebooks/mobi/writer8/skeleton.py @@ -336,7 +336,9 @@ class Chunker(object): num += 1 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 # 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