wip.py: fix convert_list non closing tags at the end (2)
This commit is contained in:
parent
e556ecdda7
commit
8503da6a42
|
@ -912,7 +912,6 @@ def convert_list(markdown_str):
|
||||||
|
|
||||||
work_str += " "*cur_rank + '<li>' + text + "</li>\n"
|
work_str += " "*cur_rank + '<li>' + text + "</li>\n"
|
||||||
|
|
||||||
|
|
||||||
for i in range(cur_rank):
|
for i in range(cur_rank):
|
||||||
work_str += " "*(cur_rank-i-1) + CLOSING[rank_stack.pop()]
|
work_str += " "*(cur_rank-i-1) + CLOSING[rank_stack.pop()]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue