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