mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-19 18:32:47 +03:00
Add missing quote
This commit is contained in:
parent
c8887e4c87
commit
82194f0fab
|
@ -157,7 +157,7 @@ def unparse(text, entities):
|
|||
elif entity_type == MessageEntityUrl:
|
||||
html.append('<a href="{0}">{0}</a>'.format(entity_text))
|
||||
elif entity_type == MessageEntityTextUrl:
|
||||
html.append('<a href="{}>{}</a>'
|
||||
html.append('<a href="{}">{}</a>'
|
||||
.format(escape(entity.url), entity_text))
|
||||
else:
|
||||
skip_entity = True
|
||||
|
|
Loading…
Reference in New Issue
Block a user