mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix html user mention entity parse
This commit is contained in:
parent
7aa6dc4efe
commit
1af668f1e0
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ class MessageEntity(base.TelegramObject):
|
|||
return markdown.hlink(entity_text, self.url)
|
||||
return markdown.link(entity_text, self.url)
|
||||
elif self.type == MessageEntityType.TEXT_MENTION and self.user:
|
||||
return self.user.get_mention(entity_text)
|
||||
return self.user.get_mention(entity_text, as_html=as_html)
|
||||
return entity_text
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue