From 3a1272fa89ff34d6f201c95d7b0e04caa43fe179 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Mon, 11 Mar 2024 17:28:52 +0800 Subject: [PATCH] Fix bug --- epub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epub.py b/epub.py index d5f2e5f..9794052 100644 --- a/epub.py +++ b/epub.py @@ -283,7 +283,7 @@ class ContentParser(HTMLParser): except ValueError: print("the image is not valid.", i.src) elif isinstance(i, list): - data += f'

{self.to_local(i, self)}

\n' + data += f'

{self.to_local(i, root)}

\n' else: raise NotImplementedError() if self._paragraph_data: