Fix HtmlDecoration attribute name for custom emoji method (#1782) (#1783)

This commit is contained in:
Sergey Maranchuk 2026-04-04 01:27:16 +03:00 committed by GitHub
parent 875f37f780
commit d5bd0b98a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View file

@ -108,7 +108,7 @@ class TestNode:
],
[
CustomEmoji("test", custom_emoji_id="42"),
'<tg-emoji emoji_id="42">test</tg-emoji>',
'<tg-emoji emoji-id="42">test</tg-emoji>',
],
[
BlockQuote("test"),