mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
parent
ff0f9b0e8f
commit
1f42e6e32f
|
@ -86,7 +86,7 @@ class HTMLToTelegramParser(HTMLParser):
|
||||||
EntityType = MessageEntityUrl
|
EntityType = MessageEntityUrl
|
||||||
else:
|
else:
|
||||||
EntityType = MessageEntityTextUrl
|
EntityType = MessageEntityTextUrl
|
||||||
args['url'] = url
|
args['url'] = _del_surrogate(url)
|
||||||
url = None
|
url = None
|
||||||
self._open_tags_meta.popleft()
|
self._open_tags_meta.popleft()
|
||||||
self._open_tags_meta.appendleft(url)
|
self._open_tags_meta.appendleft(url)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user