aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/preprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/preprocessors.py b/markdown/preprocessors.py
index c0f0034..f20f040 100644
--- a/markdown/preprocessors.py
+++ b/markdown/preprocessors.py
@@ -116,7 +116,7 @@ class HtmlBlockPreprocessor(Preprocessor):
if (right_tag == "--" and left_tag == "--"):
return True
elif left_tag == right_tag[1:] \
- and right_tag[0] != "<":
+ and right_tag[0] == "/":
return True
else:
return False