diff --git a/src/epub_converter/html_epub_processor.py b/src/epub_converter/html_epub_processor.py index 97be033..0abd38b 100644 --- a/src/epub_converter/html_epub_processor.py +++ b/src/epub_converter/html_epub_processor.py @@ -169,7 +169,9 @@ class HtmlEpubPreprocessor: @staticmethod def _tags_to_correspond_livecarta_tag(chapter_tag: BeautifulSoup, - rules: List[Dict[str, Union[List[str], str, int, Dict[str, Union[str, int]]]]]): + rules: List[Dict[str, + Union[List[str], str, Dict[str, + Union[str, List[Dict[str, str]]]]]]]): """ Function to replace all tags to correspond LiveCarta tags Parameters @@ -259,7 +261,10 @@ class HtmlEpubPreprocessor: tag.unwrap() @staticmethod - def _insert_tags_into_correspond_tags(chapter_tag: BeautifulSoup, rules: List[Dict[str, Union[List[str], str, Dict[str, Union[str, int]]]]]): + def _insert_tags_into_correspond_tags(chapter_tag: BeautifulSoup, + rules: List[Dict[str, + Union[List[str], str, Dict[str, + Union[str, List[Dict[str, str]]]]]]]): """ Function inserts tags into correspond tags Parameters