fix(journal): disable parse mode for journal rendering
This commit is contained in:
@@ -183,6 +183,7 @@ async def _show_journal_page(
|
|||||||
await target_message.edit_text(
|
await target_message.edit_text(
|
||||||
text,
|
text,
|
||||||
reply_markup=kb,
|
reply_markup=kb,
|
||||||
|
parse_mode=None,
|
||||||
)
|
)
|
||||||
except TelegramBadRequest as exc:
|
except TelegramBadRequest as exc:
|
||||||
if "message is not modified" in str(exc).lower():
|
if "message is not modified" in str(exc).lower():
|
||||||
@@ -197,6 +198,7 @@ async def _show_journal_page(
|
|||||||
sent_message = await target_message.answer(
|
sent_message = await target_message.answer(
|
||||||
text,
|
text,
|
||||||
reply_markup=kb,
|
reply_markup=kb,
|
||||||
|
parse_mode=None,
|
||||||
)
|
)
|
||||||
_register_journal_screen(sent_message)
|
_register_journal_screen(sent_message)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user