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:
parent
b50eb1bafb
commit
c533a52e39
@ -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:])
|
||||||
|
Loading…
Reference in New Issue
Block a user