From 80bd01a7668aff5ca0a895db643798cc6e1bade5 Mon Sep 17 00:00:00 2001 From: benya Date: Sun, 8 Feb 2026 00:57:14 +0300 Subject: [PATCH] Fix docker logs markdown formatting --- handlers/callbacks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/callbacks.py b/handlers/callbacks.py index 6e87a58..d0f209b 100644 --- a/handlers/callbacks.py +++ b/handlers/callbacks.py @@ -123,7 +123,7 @@ async def logs_options(cb: CallbackQuery): if not out.strip(): out = "(no logs)" await cb.message.answer( - f"📜 **Logs: {alias}**\n```{out}```", + f"📜 **Logs: {alias}**\n```\n{out}\n```", parse_mode="Markdown" ) return @@ -143,7 +143,7 @@ async def logs_options(cb: CallbackQuery): if not out.strip(): out = "(no logs for period)" await cb.message.answer( - f"📜 **Logs: {alias}**\n```{out}```", + f"📜 **Logs: {alias}**\n```\n{out}\n```", parse_mode="Markdown" ) return