mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-10 02:14:21 +01:00
MOBI Output: More tweaking of the margin handling to yield results closer to the input document.
This commit is contained in:
parent
797ecbb126
commit
ea59f633c9
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ def mobimlize_content(self, tag, text, bstate, istates):
|
|||
para = wrapper
|
||||
emleft = int(round(left / self.profile.fbase)) - ems
|
||||
emleft = min((emleft, 10))
|
||||
while emleft > 0:
|
||||
while emleft > ems/2.0:
|
||||
para = etree.SubElement(para, XHTML('blockquote'))
|
||||
emleft -= ems
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue