|
@@ -50,11 +50,14 @@ async def on_inline_query(event):
|
|
|
|
|
|
return
|
|
|
|
|
|
+ if result.startswith("```\n"):
|
|
|
+ result = result[4:]
|
|
|
+
|
|
|
await event.answer(
|
|
|
[
|
|
|
event.builder.article(
|
|
|
"Результат.",
|
|
|
- text=f"{lang}\n```\n{input_text.replace('`', '')}```\n{result}",
|
|
|
+ text=f"```{lang}\n{input_text.replace('`', '')}\n{result}```",
|
|
|
),
|
|
|
]
|
|
|
)
|