From e2ed510c3dd68bb28cef6354254cf47aa8917238 Mon Sep 17 00:00:00 2001 From: shirshasa Date: Thu, 27 May 2021 19:28:52 +0300 Subject: [PATCH] epub converter: add internal links processing 5 --- src/html_epub_preprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html_epub_preprocessor.py b/src/html_epub_preprocessor.py index bc2fde2..94b2be1 100644 --- a/src/html_epub_preprocessor.py +++ b/src/html_epub_preprocessor.py @@ -53,7 +53,7 @@ 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'] = 'align: center;' + img.attrs['style'] = "text-align: center;" return path2aws_path