Commit 7ce1e3d6 authored by Fred Drake's avatar Fred Drake

Revert an accidental re-indenting of a line that occurred in revision 1.8
that introduced a bug in the implicit closing of list- and table-related
elements.
parent 9a27d058
......@@ -194,7 +194,7 @@ class HTMLTALParser(SGMLParser):
close_to = i
elif t in BLOCK_LEVEL_HTML_TAGS:
close_to = -1
self.close_to_level(close_to)
self.close_to_level(close_to)
self.tagstack.append(tag)
elif tag in PARA_LEVEL_HTML_TAGS + BLOCK_LEVEL_HTML_TAGS:
close_to = -1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment