markdown2confluence icon indicating copy to clipboard operation
markdown2confluence copied to clipboard

Nested ordered lists don't convert correctly

Open hamx0r opened this issue 9 years ago • 1 comments

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.

hamx0r avatar Jul 29 '16 22:07 hamx0r

https://github.com/chunpu/markdown2confluence/pull/4/ fixes the issue. Travis tests failing prior to the change I made.

macca16 avatar Oct 28 '16 14:10 macca16