Allow Telegram blockquote expandable

Blockquote is not yet supported, this feature adds support along with expandable functionality.
This commit is contained in:
Castle 2024-11-07 22:46:27 -03:00 committed by GitHub
commit 2605f550f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1453,6 +1453,7 @@ def strip_tag(data, agent_id=None):
'u': [], 'ins': [],
's': [], 'strike': [], 'del': [],
'span': ['class'], 'tg-spoiler': [],
'blockquote': ['expandable'],
'a': ['href'],
'code': ['class'],
'pre': []}