diff --git a/src/html_epub_preprocessor.py b/src/html_epub_preprocessor.py index 4ce6ce9..f227a9c 100644 --- a/src/html_epub_preprocessor.py +++ b/src/html_epub_preprocessor.py @@ -395,7 +395,6 @@ def prepare_title_and_content(title, chapter_tag: BeautifulSoup, remove_title_fr if remove_title_from_chapter: clean_headings_content(chapter_tag, title_str) _process_lists(chapter_tag) - _preprocessing_headings(chapter_tag) preprocess_table(chapter_tag) # 2. class removal for tag in chapter_tag.find_all(recursive=True):