diff --git a/tgbot/utils/const_functions.py b/tgbot/utils/const_functions.py index c7e0d4d..5321c30 100644 --- a/tgbot/utils/const_functions.py +++ b/tgbot/utils/const_functions.py @@ -85,8 +85,10 @@ def clear_html(get_text: str) -> str: def clear_list(get_list: list) -> list: while "" in get_list: get_list.remove("") while " " in get_list: get_list.remove(" ") + while "." in get_list: get_list.remove(".") while "," in get_list: get_list.remove(",") while "\r" in get_list: get_list.remove("\r") + while "\n" in get_list: get_list.remove("\n") return get_list