diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-01-30 05:21:09 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-01-30 05:21:09 -0500 |
commit | 07f2057734b745793e7ad6f86d36d286fd718e70 (patch) | |
tree | d86cbfadaf91a5801ae898be54e6ec4d86d3e61d | |
parent | 9e0ec80dc23d1c8d2304b3dfdd25b3f519948f9c (diff) | |
download | markdown-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.py | 2 |
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 |