mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
forgot some escaping
This commit is contained in:
parent
e2a651afc8
commit
5dd3a660e3
1 changed files with 2 additions and 2 deletions
|
@ -650,7 +650,7 @@ class Message(TelegramObject):
|
|||
markdown_text += escape_html(message_text[last_offset:entity.offset]) + insert
|
||||
last_offset = entity.offset + entity.length
|
||||
|
||||
markdown_text += message_text[last_offset:]
|
||||
markdown_text += escape_html(message_text[last_offset:])
|
||||
return markdown_text
|
||||
|
||||
@property
|
||||
|
@ -689,5 +689,5 @@ class Message(TelegramObject):
|
|||
markdown_text += escape_markdown(message_text[last_offset:entity.offset]) + insert
|
||||
last_offset = entity.offset + entity.length
|
||||
|
||||
markdown_text += message_text[last_offset:]
|
||||
markdown_text += escape_markdown(message_text[last_offset:])
|
||||
return markdown_text
|
||||
|
|
Loading…
Add table
Reference in a new issue