This commit is contained in:
Kovid Goyal 2010-07-28 19:39:25 -06:00
parent eb6f26ae15
commit d3f9822a58

View File

@ -72,6 +72,7 @@ class PDFOutput(OutputFormatPlugin):
for rule in stylesheet.data.cssRules.rulesOfType(CSSRule.STYLE_RULE): for rule in stylesheet.data.cssRules.rulesOfType(CSSRule.STYLE_RULE):
if rule.selectorList.selectorText == '.calibre': if rule.selectorList.selectorText == '.calibre':
rule.style.removeProperty('page-break-before') rule.style.removeProperty('page-break-before')
rule.style.removeProperty('page-break-after')
if input_plugin.is_image_collection: if input_plugin.is_image_collection: