From f407facdc793259125cf04a3bd04d551e891692c Mon Sep 17 00:00:00 2001 From: Harsh <65716674+Harsh-br0@users.noreply.github.com> Date: Sun, 14 Mar 2021 17:13:12 +0530 Subject: [PATCH] Fix for strikethrough unparsing in markdown (#627) --- pyrogram/parser/markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/parser/markdown.py b/pyrogram/parser/markdown.py index 4b9dede8..f71503d8 100644 --- a/pyrogram/parser/markdown.py +++ b/pyrogram/parser/markdown.py @@ -121,7 +121,7 @@ class Markdown: start_tag = end_tag = ITALIC_DELIM elif entity_type == "underline": start_tag = end_tag = UNDERLINE_DELIM - elif entity_type == "strike": + elif entity_type == "strikethrough": start_tag = end_tag = STRIKE_DELIM elif entity_type == "code": start_tag = end_tag = CODE_DELIM