markdown2confluence
markdown2confluence copied to clipboard
Nested ordered lists don't convert correctly
This markdown:
1. First parent item
1. first parent's child
2. first parent's other child
2. Second parent item
...should render as:
# First parent item
## first parent's child
## first parent's other child
# Second parent item
...but instead renders as:
# First parent item
# # first parent's child
# # first parent's other child
# Second parent item
The extra space between the two #'s causes Confluence to not render as a nested list properly.
https://github.com/chunpu/markdown2confluence/pull/4/ fixes the issue. Travis tests failing prior to the change I made.