1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Restored necessary comment

This commit is contained in:
EskiSlav 2020-07-18 00:25:00 +03:00
parent b50eb1bafb
commit c533a52e39

View File

@ -514,7 +514,8 @@ class Message(JsonDeserializable):
html_text += func(utf16_text[offset * 2 : (offset + entity.length) * 2], entity.type, entity.url, entity.user) html_text += func(utf16_text[offset * 2 : (offset + entity.length) * 2], entity.type, entity.url, entity.user)
offset += entity.length offset += entity.length
else: else:
# For future entities # TODO: process nested entities from Bot API 4.5
# Now ignoring them
pass pass
if offset * 2 < len(utf16_text): if offset * 2 < len(utf16_text):
html_text += func(utf16_text[offset * 2:]) html_text += func(utf16_text[offset * 2:])