epub converter: add internal links processing4

This commit is contained in:
shirshasa
2021-05-27 19:27:10 +03:00
parent ab7a944bfb
commit dcdb535ffa
2 changed files with 6 additions and 5 deletions

View File

@@ -53,6 +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;'
return path2aws_path