diff --git a/app/main.py b/app/main.py index a19ec2d..2aa2f4a 100644 --- a/app/main.py +++ b/app/main.py @@ -60,7 +60,7 @@ async def tg_intgr_get(request: Request): re.sub( r"((\[)(.*?)(]))", "", - re.escape(data_json["result"]["POST_MESSAGE"].split(" ")[:100]), + re.sub('"', "", ' '.join(data_json["result"]["POST_MESSAGE"].split(" ")[:100])), ) ) comment += f'\nот {data_json["result"]["AUTHOR_NAME"]}'