We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab3890 commit 1330f37Copy full SHA for 1330f37
1 file changed
dojo/tools/nexpose/parser.py
@@ -63,15 +63,14 @@ def parse_html_type(self, node):
63
ret += "<li>" + str(node.text).strip() + "</li>"
64
if tag == "orderedlist":
65
i = 1
66
- for item in list(node):
+ for i, item in enumerate(node):
67
ret += (
68
"<ol>"
69
+ str(i)
70
+ " "
71
+ self.parse_html_type(item)
72
+ "</ol>"
73
)
74
- i += 1
75
if tag == "paragraph":
76
if len(list(node)) > 0:
77
for child in list(node):
0 commit comments