aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-01-30 05:21:09 -0500
committerWaylan Limberg <waylan@gmail.com>2012-01-30 05:21:09 -0500
commit07f2057734b745793e7ad6f86d36d286fd718e70 (patch)
treed86cbfadaf91a5801ae898be54e6ec4d86d3e61d
parent9e0ec80dc23d1c8d2304b3dfdd25b3f519948f9c (diff)
downloadmarkdown-07f2057734b745793e7ad6f86d36d286fd718e70.tar.gz
markdown-07f2057734b745793e7ad6f86d36d286fd718e70.tar.bz2
markdown-07f2057734b745793e7ad6f86d36d286fd718e70.zip
Fixed #75. Right tags in raw html are more properly identified.
-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