mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
3abe080023
commit
e282364459
@ -397,9 +397,9 @@ class Styles(object):
|
||||
ls = self.resolve_paragraph(last_para)
|
||||
ps = self.resolve_paragraph(p)
|
||||
if ls.linked_style is not None and ls.linked_style == ps.linked_style:
|
||||
if ls.contextualSpacing:
|
||||
if ls.contextualSpacing is True:
|
||||
ls.margin_bottom = 0
|
||||
if ps.contextualSpacing:
|
||||
if ps.contextualSpacing is True:
|
||||
ps.margin_top = 0
|
||||
last_para = p
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user