mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 05:06:08 +01:00
MOBI Output: First anchor offset should be just after opening <body> tag instead of just before it
This commit is contained in:
parent
6977727e05
commit
a7956e2c9d
1 changed files with 1 additions and 1 deletions
|
|
@ -218,8 +218,8 @@ def serialize_href(self, href, base=None):
|
|||
|
||||
def serialize_body(self):
|
||||
buffer = self.buffer
|
||||
self.anchor_offset = buffer.tell()
|
||||
buffer.write('<body>')
|
||||
self.anchor_offset = buffer.tell()
|
||||
# CybookG3 'Start Reading' link
|
||||
if 'text' in self.oeb.guide:
|
||||
href = self.oeb.guide['text'].href
|
||||
|
|
|
|||
Loading…
Reference in a new issue