Skip to content

Commit 07f2057

Browse files
author
Waylan Limberg
committed
Fixed #75. Right tags in raw html are more properly identified.
1 parent 9e0ec80 commit 07f2057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/preprocessors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def _equal_tags(self, left_tag, right_tag):
116116
if (right_tag == "--" and left_tag == "--"):
117117
return True
118118
elif left_tag == right_tag[1:] \
119-
and right_tag[0] != "<":
119+
and right_tag[0] == "/":
120120
return True
121121
else:
122122
return False

0 commit comments

Comments
 (0)