kramdown
kramdown copied to clipboard
Don't add newline after a nested list
Checks whether element is a list, and if that list is nested within another list (i.e. the list's parent is a list item). In this case we should not add another newline.
The change results in nested lists appearing as:
* First item
* Sub item 1
* Sub sub item
* Sub item 2
* Second item
* Sub item
rather than:
* First item
* Sub item 1
* Sub sub item
* Sub item 2
* Second item
* Sub item
Now properly using the @stack
variable
Thank you - I will have a more in-depth look later!
Has this bug been fixed @gettalong ?
@Convincible No, this change is not yet included but looks good! Please add some test and then it is good to go - thanks!
@Convincible No, this change is not yet included but looks good! Please add some test and then it is good to go - thanks!
Where would such a test go? I'd really like to have this change.