mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 20:50:22 +03:00
Fix typo
This commit is contained in:
parent
ca43d2a865
commit
acd9d75bba
|
@ -85,8 +85,8 @@ class HTMLToTelegramParser(HTMLParser):
|
|||
self._open_tags_meta.appendleft(url)
|
||||
|
||||
if entity_type and tag not in self._building_entities:
|
||||
any_entity_type_ = cast(Any, entity_type)
|
||||
self._building_entities[tag] = any_entity_type_(
|
||||
any_entity_type = cast(Any, entity_type)
|
||||
self._building_entities[tag] = any_entity_type(
|
||||
offset=len(self.text),
|
||||
# The length will be determined when closing the tag.
|
||||
length=0,
|
||||
|
|
Loading…
Reference in New Issue
Block a user