|
@ -132,7 +132,7 @@ rules.paragraph_close = function (tokens, idx /*, options, env */) { |
|
|
if (!tokens[idx - 1].content) { |
|
|
if (!tokens[idx - 1].content) { |
|
|
return ''; |
|
|
return ''; |
|
|
} |
|
|
} |
|
|
if (tokens[idx + 1].type === 'list_item_close') { |
|
|
if (tokens[idx + 1].type.slice(-5) === 'close') { |
|
|
return ''; |
|
|
return ''; |
|
|
} |
|
|
} |
|
|
return '\n'; |
|
|
return '\n'; |
|
|