From 2f090eeac18cec1fd02005cc475c3bddcabae0b8 Mon Sep 17 00:00:00 2001 From: shirshasa Date: Fri, 3 Sep 2021 10:22:59 +0300 Subject: [PATCH] epub converter: fix double boxes --- src/html_epub_preprocessor.py | 1 - 1 file changed, 1 deletion(-) 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: