Open xplus2g4 opened 1 month ago
client.send_message(chat, html="<blockquote>test</blockquote>")
This should produce 'test' wrapped in blockquote
This falls to produce quotes. <details /> (spoiler) worked normally.
<details />
No response
2.0.0a0
3.12
macOS
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
On a side note: event.text_html will parse <blockquote>test</blockquote> to test (entities = []) while <details>test</details> to <details>test</details> (entities = [MessageEntitySpoiler]).
event.text_html
<blockquote>test</blockquote>
test
<details>test</details>
MessageEntitySpoiler
Code that causes the issue
client.send_message(chat, html="<blockquote>test</blockquote>")
Expected behavior
This should produce 'test' wrapped in blockquote
Actual behavior
This falls to produce quotes.
<details />
(spoiler) worked normally.Traceback
No response
Telethon version
2.0.0a0
Python version
3.12
Operating system (including distribution name and version)
macOS
Other details
No response
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.