We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b3e5f2 commit 967f257Copy full SHA for 967f257
pyrogram/parser/html.py
@@ -153,7 +153,7 @@ def unparse(text: str, entities: list):
153
start = entity.offset
154
end = start + entity.length
155
156
- if entity_type in ("bold", "italic", "underline", "strike"):
+ if entity_type in ("bold", "italic", "underline", "strikethrough"):
157
start_tag = f"<{entity_type[0]}>"
158
end_tag = f"</{entity_type[0]}>"
159
elif entity_type in ("code", "pre", "blockquote"):
0 commit comments