Fix annotation problem

This commit is contained in:
Kiryl
2022-08-03 14:55:22 +03:00
parent 78e3ad8911
commit e3290b23bb

View File

@@ -169,7 +169,9 @@ class HtmlEpubPreprocessor:
@staticmethod @staticmethod
def _tags_to_correspond_livecarta_tag(chapter_tag: BeautifulSoup, 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 Function to replace all tags to correspond LiveCarta tags
Parameters Parameters
@@ -259,7 +261,10 @@ class HtmlEpubPreprocessor:
tag.unwrap() tag.unwrap()
@staticmethod @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 Function inserts tags into correspond tags
Parameters Parameters