diff --git a/src/html_epub_preprocessor.py b/src/html_epub_preprocessor.py index c25e38b..6108da3 100644 --- a/src/html_epub_preprocessor.py +++ b/src/html_epub_preprocessor.py @@ -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: