forked from LiveCarta/BookConverter
epub converter: fix double boxes
This commit is contained in:
@@ -323,7 +323,6 @@ def unwrap_structural_tags(body_tag):
|
||||
for s in body_tag.find_all("section"):
|
||||
could_be_unwrapped = True
|
||||
if s.attrs.get('class'):
|
||||
_preserve_class_in_aside_tag(s)
|
||||
could_be_unwrapped = _preserve_class_in_section_tag(s)
|
||||
_add_span_to_save_ids_for_links(s)
|
||||
if could_be_unwrapped:
|
||||
|
||||
Reference in New Issue
Block a user