Loading md_to_docx_converter/src/to_html/postprocessing.py +2 −2 Original line number Diff line number Diff line Loading @@ -794,7 +794,7 @@ def postprocess(html_dir: str): with open(file_path, "r", encoding="utf-8") as html: soup = BeautifulSoup(html, "html.parser") soup = shorten_toc_text(soup) soup = remove_code_blocks_with_only_images(soup) soup = format_examples_and_notes(soup) soup = format_tables(soup) Loading @@ -818,7 +818,7 @@ def postprocess(html_dir: str): soup = replace_dash_characters(soup) soup = move_figure_id_to_FL_elements(soup) soup = fix_custom_tags(soup) soup = shorten_toc_text(soup) images, soup = extract_images_from_html(soup) for image_id, image_src in images.items(): images_mapping[image_src] = {"id": image_id, "file": new_filename} Loading Loading
md_to_docx_converter/src/to_html/postprocessing.py +2 −2 Original line number Diff line number Diff line Loading @@ -794,7 +794,7 @@ def postprocess(html_dir: str): with open(file_path, "r", encoding="utf-8") as html: soup = BeautifulSoup(html, "html.parser") soup = shorten_toc_text(soup) soup = remove_code_blocks_with_only_images(soup) soup = format_examples_and_notes(soup) soup = format_tables(soup) Loading @@ -818,7 +818,7 @@ def postprocess(html_dir: str): soup = replace_dash_characters(soup) soup = move_figure_id_to_FL_elements(soup) soup = fix_custom_tags(soup) soup = shorten_toc_text(soup) images, soup = extract_images_from_html(soup) for image_id, image_src in images.items(): images_mapping[image_src] = {"id": image_id, "file": new_filename} Loading