From b00317149dbcf7d6514df3055aca9d63eef8009a Mon Sep 17 00:00:00 2001 From: shirshasa Date: Fri, 28 May 2021 08:12:21 +0300 Subject: [PATCH] epub converter: add internal links processing 6 --- 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 94b2be1..d226fe5 100644 --- a/src/html_epub_preprocessor.py +++ b/src/html_epub_preprocessor.py @@ -53,7 +53,6 @@ def update_src_links_in_images(body_tag: Tag, new_folder = save_image_locally(path_to_img_from_root, img_content, 'book_id') img.attrs['src'] = str(new_folder) - img.attrs['style'] = "text-align: center;" return path2aws_path