diff --git a/tgbot/utils/const_functions.py b/tgbot/utils/const_functions.py index 536b69c..49f7b5d 100644 --- a/tgbot/utils/const_functions.py +++ b/tgbot/utils/const_functions.py @@ -83,7 +83,7 @@ def ded(get_text: str) -> str: for text in split_text: while text.startswith(" "): - text = text[1:] + text = text[1:].strip() save_text.append(text) get_text = "\n".join(save_text)