Skip to content

Commit eb48a5a

Browse files
Add support for blockquote parsing for html_text for messages
1 parent a8252d7 commit eb48a5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

telebot/types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,8 @@ def __html_text(self, text, entities):
14161416
"strikethrough": "<s>{text}</s>",
14171417
"underline": "<u>{text}</u>",
14181418
"spoiler": "<span class=\"tg-spoiler\">{text}</span>",
1419-
"custom_emoji": "<tg-emoji emoji-id=\"{custom_emoji_id}\">{text}</tg-emoji>"
1419+
"custom_emoji": "<tg-emoji emoji-id=\"{custom_emoji_id}\">{text}</tg-emoji>",
1420+
"blockquote": "<blockquote>{text}</blockquote>",
14201421
}
14211422

14221423
if hasattr(self, "custom_subs"):

0 commit comments

Comments
 (0)