mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Fix strikethrough message entity unparsing (#598)
This commit is contained in:
parent
2b3e5f2b0a
commit
967f25796c
@ -153,7 +153,7 @@ class HTML:
|
||||
start = entity.offset
|
||||
end = start + entity.length
|
||||
|
||||
if entity_type in ("bold", "italic", "underline", "strike"):
|
||||
if entity_type in ("bold", "italic", "underline", "strikethrough"):
|
||||
start_tag = f"<{entity_type[0]}>"
|
||||
end_tag = f"</{entity_type[0]}>"
|
||||
elif entity_type in ("code", "pre", "blockquote"):
|
||||
|
Loading…
Reference in New Issue
Block a user