Fix docker logs markdown formatting
This commit is contained in:
@@ -123,7 +123,7 @@ async def logs_options(cb: CallbackQuery):
|
|||||||
if not out.strip():
|
if not out.strip():
|
||||||
out = "(no logs)"
|
out = "(no logs)"
|
||||||
await cb.message.answer(
|
await cb.message.answer(
|
||||||
f"📜 **Logs: {alias}**\n```{out}```",
|
f"📜 **Logs: {alias}**\n```\n{out}\n```",
|
||||||
parse_mode="Markdown"
|
parse_mode="Markdown"
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
@@ -143,7 +143,7 @@ async def logs_options(cb: CallbackQuery):
|
|||||||
if not out.strip():
|
if not out.strip():
|
||||||
out = "(no logs for period)"
|
out = "(no logs for period)"
|
||||||
await cb.message.answer(
|
await cb.message.answer(
|
||||||
f"📜 **Logs: {alias}**\n```{out}```",
|
f"📜 **Logs: {alias}**\n```\n{out}\n```",
|
||||||
parse_mode="Markdown"
|
parse_mode="Markdown"
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user