Loading md_to_docx_converter/src/to_html/postprocessing.py +3 −3 Original line number Diff line number Diff line Loading @@ -675,6 +675,9 @@ def postprocess(html_dir: str): with open(file_path, "r", encoding="utf-8") as html: soup = BeautifulSoup(html, "html.parser") soup = remove_code_blocks_with_only_images(soup) soup = format_examples_and_notes(soup) if ( new_filename.replace(".html", "") in files_with_references ): # Reference-specific formatting Loading @@ -689,9 +692,6 @@ def postprocess(html_dir: str): soup = handle_ew_div(soup) soup = remove_code_blocks_with_only_images(soup) soup = format_examples_and_notes(soup) soup = remove_links_from_labels(soup) soup = add_ids_to_labels(soup) soup = replace_dash_characters(soup) Loading Loading
md_to_docx_converter/src/to_html/postprocessing.py +3 −3 Original line number Diff line number Diff line Loading @@ -675,6 +675,9 @@ def postprocess(html_dir: str): with open(file_path, "r", encoding="utf-8") as html: soup = BeautifulSoup(html, "html.parser") soup = remove_code_blocks_with_only_images(soup) soup = format_examples_and_notes(soup) if ( new_filename.replace(".html", "") in files_with_references ): # Reference-specific formatting Loading @@ -689,9 +692,6 @@ def postprocess(html_dir: str): soup = handle_ew_div(soup) soup = remove_code_blocks_with_only_images(soup) soup = format_examples_and_notes(soup) soup = remove_links_from_labels(soup) soup = add_ids_to_labels(soup) soup = replace_dash_characters(soup) Loading