We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563b7c7 commit 59a53b5Copy full SHA for 59a53b5
markdown_to_bbcode.py
@@ -132,10 +132,7 @@ def parse_list_items(lines):
132
while list_stack and indent < current_indent:
133
parent_list, parent_indent, parent_type = list_stack.pop()
134
if parent_type == 'ordered':
135
- if bbcode_type == 'nexus':
136
- parent_list.append(f"[olist]\n" + "\n".join(current_list) + "\n[/olist]")
137
- else:
138
- parent_list.append(f"[list=1]\n" + "\n".join(current_list) + "\n[/list]")
+ parent_list.append(f"[list=1]\n" + "\n".join(current_list) + "\n[/list]")
139
else:
140
parent_list.append(f"[list]\n" + "\n".join(current_list) + "\n[/list]")
141
current_list = parent_list
0 commit comments