From 07f2057734b745793e7ad6f86d36d286fd718e70 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Mon, 30 Jan 2012 05:21:09 -0500 Subject: Fixed #75. Right tags in raw html are more properly identified. --- markdown/preprocessors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3