Fix for strikethrough unparsing in markdown (#627)

This commit is contained in:
Harsh 2021-03-14 17:13:12 +05:30 committed by GitHub
parent 9cbbf79972
commit f407facdc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ class Markdown:
start_tag = end_tag = ITALIC_DELIM start_tag = end_tag = ITALIC_DELIM
elif entity_type == "underline": elif entity_type == "underline":
start_tag = end_tag = UNDERLINE_DELIM start_tag = end_tag = UNDERLINE_DELIM
elif entity_type == "strike": elif entity_type == "strikethrough":
start_tag = end_tag = STRIKE_DELIM start_tag = end_tag = STRIKE_DELIM
elif entity_type == "code": elif entity_type == "code":
start_tag = end_tag = CODE_DELIM start_tag = end_tag = CODE_DELIM