Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit f407fac

Browse files
authored
Fix for strikethrough unparsing in markdown (#627)
1 parent 9cbbf79 commit f407fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/parser/markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def unparse(text: str, entities: list):
121121
start_tag = end_tag = ITALIC_DELIM
122122
elif entity_type == "underline":
123123
start_tag = end_tag = UNDERLINE_DELIM
124-
elif entity_type == "strike":
124+
elif entity_type == "strikethrough":
125125
start_tag = end_tag = STRIKE_DELIM
126126
elif entity_type == "code":
127127
start_tag = end_tag = CODE_DELIM

0 commit comments

Comments
 (0)