epub converter: small fix

This commit is contained in:
shirshasa
2021-07-05 09:02:02 +03:00
parent d563e08465
commit e1ea4f5605

View File

@@ -269,7 +269,7 @@ def add_inline_style_to_html_soup(soup1, css_text):
tag.attrs['style'] = style
del tag.attrs['livecarta_id']
wrap_p_if_bg_color(top_tag)
wrap_p_to_save_style_attrs(top_tag)
else:
del tag.attrs['livecarta_id']